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
irc-log-highlight.mdwn
I want .irc files to be properly highlighted.
Currently, it seems Pygments is the only highligher supporting this syntax. I’ll check in the sources of highlight and GNU source-highlight to be sure.
Steps:
- Read about writing langdefs for highlight and GNU source-highlight
- Write general syntax description
- Write syntax files for highlight and GNU source-highlight
- Find a way to install them here (e.g. maybe need to manipulate langdefs setting of highlight plugin in ikiwiki setup file)
- Get them upstream
Here is the IRC log lexer code from Pygments: [[lexer.py]]. And this can help understand the code.
highlight documentation:
- Local:
/usr/share/doc/highlight/
- Online: https://www.andre-simon.de/doku/highlight/en/highlight.php
- Upstream: http://sourceforge.net/p/syntaxhighlight/code/HEAD/tree/highlight/
GNU source-highlight documentation:
- Local:
/usr/share/doc/source-highlight/
- Online: https://www.gnu.org/software/src-highlite/
- Upstream: http://git.savannah.gnu.org/cgit/src-highlite.git