1
1
mirror of https://github.com/anoma/juvix.git synced 2024-09-19 20:48:55 +03:00
juvix/theme
Jonathan Cubides 453996530d
Add syntax highlighting for juvix code blocks in docs (#1971)
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
2023-04-05 11:24:19 +02:00
..
index.hbs Add syntax highlighting for juvix code blocks in docs (#1971) 2023-04-05 11:24:19 +02:00
juvix.css Add syntax highlighting for juvix code blocks in docs (#1971) 2023-04-05 11:24:19 +02:00
juvix.js Add syntax highlighting for juvix code blocks in docs (#1971) 2023-04-05 11:24:19 +02:00
latex-macros.txt Add new README and md files (#1904) 2023-03-21 20:01:48 +01:00
pagetoc.css Add new README and md files (#1904) 2023-03-21 20:01:48 +01:00
pagetoc.js Add new README and md files (#1904) 2023-03-21 20:01:48 +01:00
pascal.js Add syntax highlighting for juvix code blocks in docs (#1971) 2023-04-05 11:24:19 +02:00