The AsciiDoctor generates a p tag around the paragraphs. I need to generate a html file with additional non-html attributes in some paragraph, for example:
<p foo="bar">
Lorem ipsum...
</p>
How could I indicate it in the AsciiDoc source? With a style? Or with a macro?
Which extension point should I use? Block processor can't modify the outer p tag. Only the Postprocessor can access the generated output, but how could I instruct it to add this new attribute for a specific paragraph?
Thanks,
István