mirror of
https://github.com/anoma/juvix.git
synced 2024-12-14 08:27:03 +03:00
453996530d
This PR adds initial syntax highlighting for juvix code blocks and REPL sessions in Markdown files rendered by mdbook. After this PR, only two themes would be supported to ease maintenance: Light and Dark (Ayu). The implementation is a specifically tailored version of - https://github.com/anoma/highlightjs-juvix (plugin for HighlightJS,v11.7). to be compatible with the infamous HighlightJS 10.1.1, to be used just for MdBook. The output can be seen here (make sure the CI finished to check the last version, otherwise run the website locally): - https://jonaprieto.github.io/juvix/tutorials/learn.html
28 lines
253 B
CSS
28 lines
253 B
CSS
.hljs-meta {
|
|
color: coral;
|
|
}
|
|
|
|
.hljs-inductive {
|
|
color: #86b300;
|
|
}
|
|
|
|
.hljs-number {
|
|
color: #00a822;
|
|
}
|
|
|
|
.hljs-function {
|
|
color: #d78810;
|
|
}
|
|
|
|
.hljs-symbol {
|
|
color: #d78810;
|
|
}
|
|
|
|
.hljs-string {
|
|
color: #f07171;
|
|
}
|
|
|
|
.hljs-keyword {
|
|
color: #399ee6;
|
|
}
|