pietroppeter / nimibook

A port of mdbook to nim(ib)
https://pietroppeter.github.io/nimibook/
MIT License
76 stars 8 forks source link

highlight nim code in pages with markdown sources #64

Closed pietroppeter closed 1 year ago

pietroppeter commented 1 year ago

see also https://github.com/pietroppeter/nimib/issues/68 (where there is the discussion for other languages than nim, which also should be in scope here) the feature should likely be implemented first in nimib and then used here.

pietroppeter commented 1 year ago

closed by #74

pietroppeter commented 1 year ago

bizarrely enough this commands section is highlighted as sql: https://pietroppeter.github.io/nimibook/cli.html probably can be overridden by mentioning something (bash?) after the backticks. not planning to do anything about it for now.

HugoGranstrom commented 1 year ago

I think you can mark the language as plaintext If you don't want any highlighting of a code block.