bucklescript.github.io icon indicating copy to clipboard operation
bucklescript.github.io copied to clipboard

some suggestions

Open bobzhang opened this issue 6 years ago • 3 comments

  1. how to create links to some section? for example Interop/Embed Raw JavaScrpt section

  2. The syntax highlighting for OCaml code seems not correct, let keyword is colored

  3. For interop examples, can we always make it editable so that both ocaml/js code would displayed

bobzhang avatar Dec 02 '17 11:12 bobzhang

  1. 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

  2. Yeah that can be tweaked. cc @rickyvetter

  3. You mean an interactive code block?

chenglou avatar Dec 03 '17 06:12 chenglou

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.

yawaramin avatar Dec 23 '17 23:12 yawaramin

Search will have to do for the medium term. Docusaurus doesn't allow an extra level (keeps a few things quite simple though) yet

chenglou avatar Jan 20 '18 16:01 chenglou