* Try to find a way to recognize the codeblock tabs, its title, and
where it ends
- I try using DOCUSAURUS_CODE_TABS to mark the start
- Use TAB_TITLE to mark the title of the tab
- END_TAB to mark the end of that tab
- END_DOCUSAURUS_CODE_TABS to mark the end of the whole code blocks
then parse using regex and render accordingly
* Added on click hook
* Added example on how to write it, how to use it, how it will look like can be reverted later
* Fix css error
* - Move addEventListener part to lib/static
- Remove comments
* Add documentation
* Remove examples
* Change syntax of the codetabs
* Update guides-custom-pages.md
Guide on how to add "Copy" to clipboard buttons on code blocks in Docusaurus.
* Update guides-custom-pages.md
Changed wall of text to be a link to a gist describing the code you need to add to add copy clipboard
* Add to markdown instead
* Update guides-custom-pages.md
* Enable user to use prism.js as syntax highlighter
* add package-lock
* if 'usePrism' is true, use prismjs on all languages
* don't get lang by hljs if use prism
* Update api-site-config.md
* Update api-doc-markdown.md
* only load prism css when usePrism is true
* Remove client side highlighting
* Update CSS rules to render plain code blocks with expected left border
* Add back codeColor background color config
* Ensure all pre code blocks use Highlight.js classes