By configure I mean font size, font family, syntax highlight style, line numbers and so on. I have followed some tutorials but they don't worked for me.
What I did:
- added
markdown: kramdown
andhighlighter: rouge
to _config.yml; - added a css theme from pygments directly in head / imported it in the
main.scss
file.
I tried this and the syntax highlight worked but in a limited way, cause I can't add the line numbers with lineos
. I noticed that the {% highlight lang_name %}
tag doesn't works, just the triple tildes.
Any help will be welcome