Hello,
I have heavily used both Markdown and Org mode. And I have grown to prefer Org mode over the other because of better (subjective, of course) syntax, etc.
Org mode is supported by Pandoc and even the rendered on GitHub/Gitlab.
[If this is possible, I would write manuals and wikis for my repos directly in Org mode.]
Is this something you would consider supporting?
Thanks!
Do you know of a good Python module for converting org mode to HTML?
There isn't one that I know of that would 100% support the Org mode spec. Coincidentally, a discussion is going on here.
If using static binaries is an option, Pandoc provides those. But I understand that that wouldn't be efficient.
I would prefer a pure Python implementation. If you spent some time working on making that a reality, I would add org mode support to man.sr.ht.
Understood. Thank you for considering this.
Any update on this? you could use: https://github.com/mooz/org-js/
Maybe this is better since it's pure Python? https://github.com/karlicoss/orgparse
I know it's only a parser but it should be easy to write an HTML renderer if it's what you would need. I don't know how sourcehut works and I wouldn't be able to integrate in the codebase, but I could write a simple Python class/function that use orgparse to generate HTML from the org code.
~sircmpwn: tell me if you are interested.
No, the preferred approach is now the following:
https://man.sr.ht/git.sr.ht/#setting-a-custom-readme
And note that you use ~, not @, to mention people on sr.ht.
Cool, I didn't know. This is a more versatile approach. Thank you.