📦 remark-plugin-code-tabs
Groups sequences of code section into a single tabbed element using Docusaurus tabs.
Usage​
Read the Code Tabs documentation.
Configuration​
Install the plugin
- npm
- Yarn
- pnpm
npm install @rise4fun/docusaurus-remark-code-tabs
yarn add @rise4fun/docusaurus-remark-code-tabs
pnpm add @rise4fun/docusaurus-remark-code-tabs
and add to your docusaurus.configuration.js
file as other remark plugins.
const config = {
plugins: [
...,
"@rise4fun/docusaurus-remark-code-tabs"
]
}
If you are using codesandbox
, install
the codesandbox-button theme.