So you want to render you chord charts, usually this format is what you want to use:
'Kdyz[D] jsem byl chlapec malej, tak metr nad zemi,', 'sch[G]azeli se farmari tam [D]u nas v prizemi.',
But it is not super readable on its own, is it? If you agree that this is better:
D Kdyz jsem byl chlapec malej, tak metr nad zemi, G D schazeli se farmari tam u nas v prizemi.
Here is a solution for you ;)