Found the list of syntaxes for listings supported in my ssg
I had some invalid listing language/syntax definition in a blog post:
{{% listing files/2025/listings/AoE2UrlHelper.desktop conf linenumbers=False %}}
The exact error was:
File "/home/blog/nikola/lib64/python3.6/site-packages/pygments/lexers/__init__.py", line 122, in get_lexer_by_name raise ClassNotFound('no lexer for alias %r found' % _alias) pygments.util.ClassNotFound: no lexer for alias 'conf' found
Plugging that into a search yields a site, and their prominent link Languages is what I was looking for.
Addendum
I learned how the raw command works in Nikola. You need to also end your raw block with a with /raw directive.
Comments