mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 09:57:03 +02:00
* 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 |
||
---|---|---|
.. | ||
__tests__ | ||
nav | ||
anchors.js | ||
BlogPageLayout.js | ||
BlogPost.js | ||
BlogPostLayout.js | ||
BlogSidebar.js | ||
CodeTabsMarkdownBlock.js | ||
CompLibrary.js | ||
Container.js | ||
Doc.js | ||
DocsLayout.js | ||
DocsSidebar.js | ||
GridBlock.js | ||
Head.js | ||
MarkdownBlock.js | ||
Redirect.js | ||
Remarkable.js | ||
renderMarkdown.js | ||
Site.js | ||
toc.js | ||
toSlug.js | ||
unindent.js | ||
utils.js |