Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>

[[ 🗃 ^yEzqv rel4tion-wiki ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/yEzqv

SSH: git clone USERNAME@vervis.peers.community:yEzqv

Branches

Tags

master :: editing / help / page-types /

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:

  1. Read about writing langdefs for highlight and GNU source-highlight
  2. Write general syntax description
  3. Write syntax files for highlight and GNU source-highlight
  4. Find a way to install them here (e.g. maybe need to manipulate langdefs setting of highlight plugin in ikiwiki setup file)
  5. Get them upstream

Here is the IRC log lexer code from Pygments: [[lexer.py]]. And this can help understand the code.

highlight documentation:

GNU source-highlight documentation:

[See repo JSON]