Relationship between SNR and EbNo when there is coding

I would like to know what would be the relationship between EbNo and SNR when there is a coding rate of Rc=K/N. Normally when there is no channel coding according to http://www.rowetel.com/blog/?p=4621
SNR(db) = Eb/No(dB) + 10log10(Rb/B)
However what would happen if I have a linear block code or other coding schemes with code rate Rc =1/2 or other values. How to calculate the relationship between SNR and EbNo in this case.

If Eb is the energy per information bit, and Rb is the information bit rate, then that already takes into account any coding overhead or other overhead (e.g., framing).
This article has details:
https://www.dsprelated.com/showarticle/168.php