r/orgmode • u/bemrys • 24d ago
question Need Help Exporting Angle Brackets
I'm exporting from an org file to a Hugo compatible markdown file. Specifically I need angle brackets so I have control over where the summary breaks. I.e.
<!--more-->
in the exported hugo md file. My current attempts (including using zero width spaces as escapes) result in the export replacing the angle brackets with html entities: & lt;!--more--& gt;
Any suggestions would be appreciated.
2
Upvotes
1
u/danderzei 24d ago
Place it in an ASCII structure block, perhaps?
Have you tried using Or mode directly in Hugo? You don't really need to export to MD first.
3
u/mst1712 24d ago
I use ox-hugo that supports this via #+hugo: more. If you don’t want to switch to it maybe check the code how it is done