Forum Academy Marketplace Showcase Pricing Features

Lock text position relative to text underneath

I’m looking to find a way to lock the position of text from line to line. I’m creating a guitar chord chart functionality where people can create a rich text element (stored in the database), and displays dynamically later.

Example of input:

I’d like the bold elements above the words remained locked to those particular words. any ideas?