I love how TBX exports images in html. And I also love the quick Markdown syntax (esp. for lists). So I would like to combine both.
I wonder if it is possible to export a list (made with "- " (dash+space)) to html?
Unfortunately my regex skills are insufficient. But the Pseudo-Code should look like this:
- FIND substring (=line) starting with "- " and ending with “\n”
- TAG this substring with
3. FIND subtring starting with "<li> " and ending with
!</li> (closing li-tag at end of line, but no opening li-tag at beginning of next line)
4. TAG this substring with
The same code should work with the remaining nested lists (sublists), but instead regex is searching for text patterns starting with
Any comments if this is doable (or maybe already done) are welcome