I'm interested in modifying the functionality for how org exports to markdown/html. What I want to achieve is hanging indents in exported poetry, and a decent way to achieve this is with <span></span>
tags. so i would like to be able to export a verse block to something like:
<p class="verse-hanging">
<span class="hanging">poem verse 1</span><br />
<span class="hanging">poem verse 2</span><br />
</p>
rather than
<p class="verse">
poem verse 1<br />
poemverse 2<br />
</p>
[what ever the class names have to be, the only need i think is for them to not be verse
, so the two can be styled differently.]
i have seen org-html-verse-block
, i could rewrite it to this end, but i'm not sure how i would go about using it in an export.
the tags should be optional for verse blocks.
can i modify export functions or might this be more of a dangerous rabbit hole that i would never emerge out of?