bucklescript.github.io
bucklescript.github.io copied to clipboard
some suggestions
-
how to create links to some section? for example Interop/Embed Raw JavaScrpt section
-
The syntax highlighting for OCaml code seems not correct,
let
keyword is colored -
For interop examples, can we always make it editable so that both ocaml/js code would displayed
-
See here: https://github.com/BuckleScript/bucklescript.github.io#bucklescript-website it's the
sidebars.json
. Then you add a md file in the docs folder -
Yeah that can be tweaked. cc @rickyvetter
-
You mean an interactive code block?
Could we add a level to the sidebar TOC? I find that most useful stuff is in level 3. When I'm looking for something I kinda have to make a guess about which level 2 section it might fall under--or just search if I remember a keyword.
Search will have to do for the medium term. Docusaurus doesn't allow an extra level (keeps a few things quite simple though) yet