Context:
I want my users to be able to create and edit documents in Confluence
I then use Confluence as a CMS using the REST API to retrieve that content and display it on public facing websites.
Process
I'm currently using NodeJS/Cheerio in conjunction with Handlebars templates to do this but to parse and manipulate the content effectively I need some way of identifying page elements and containers.
At the moment it appears as though the only solution is to create HTML elements but this will require additional training for the admin and documentation personnel which I would prefer to avoid.
Can anyone suggest an alternative course of action? My preference is to use ID elements but I can't see a way to have Confluence render HTML with ID elements.