custom syntax highlighting

This commit is contained in:
Marco Otte-Witte
2024-08-20 17:37:33 +02:00
parent d269320825
commit 1b050774e7
2 changed files with 212 additions and 1 deletions

View File

@@ -51,7 +51,6 @@ sansfontfallback = ["Noto Color Emoji:mode=harf"]
monofontfallback = [
"Noto Color Emoji:mode=harf",
]
monobackgroundcolor = "\\color[HTML]{e7e7e7}"
linkcolor = "Links"
urlcolor = "Links"
linkstyle = "bold"
@@ -64,6 +63,7 @@ header-includes = [
# Reduce font size of code blocks
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
]
highlight-style = "book/custom.theme"
[output.pandoc.profile.paperback]
output-file = "100-exercises-to-learn-rust.pdf"