Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>
Clone
HTTPS:
git clone https://vervis.peers.community/repos/yEzqv
SSH:
git clone USERNAME@vervis.peers.community:yEzqv
Branches
Tags
25.mdwn
[[!template id=ticket class=task assigned=fr33domlover done=yes]]
[[!meta title=“Render documents, perhaps using pandoc”]]
Issue
Currently the only supported source rendering modes are:
- Plain text
- Syntax highlighted
This may work well for source code, but e.g. Markdown files are lexed by [[!hackage highlighter2]] as MiniD
files. That’s reasonable for syntax highlighting, because the usual thing you want to do with Markdown is not highlight it, but render it into a web page.
So this is what I want to support. Most repo hosting platforms can render at least Markdown. So that is the minimum. Will be nice to support other formats as well, e.g. asciidoc and RestructedText and OrgMode, using [[!hackage pandoc]].
Result
Done, basic rendering of Pandoc Markdown is supported. More formats for syntax highlighting and document rendering will be added gradually.