N
N
Nikita2014-10-30 09:01:28
css
Nikita, 2014-10-30 09:01:28

How to enable adequate syntax highlighting in Pelican?

I'm setting up a blog on Pelican for syntax highlighting (inserting code directly into the blog text) using Pygments but it refuses to process CSS, refers to something that it can't. But he still doesn’t know how to support several languages ​​\u200b\u200bat once, because. classes on the processed code are the same regardless of which language I specified in Markdown ::html or :::js. How to properly enable multi-language highlighting and teach it to handle CSS as separate code

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2014-10-31
@FranklinDKitamory

everything works, just the HTML handler also processes the CSS in more detail can be found here www.unix-lab.org/posts/pelican under the heading Pygments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question