0.3.3 • Published 2 years ago

docusaurus-plugin-demo-block v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

docusaurus-plugin-demo-block

Use code blocks as usual and get better rendering

GitHub Workflow Status (branch) npm npm GitHub top language GitHub

Install

npm i docusaurus-plugin-demo-block

Quick Start

  plugins: [
    [
      'demo-block',
      /** @type {import('./lib/option-type').Options} */
      ({}),
    ],
  ],

Example

vanilla vue react

Config

you can check this config file to find which config is supported

global config

  plugins: [
    [
      'demo-block',
      /** @type {import('./lib/option-type').Options} */
      ({ babel: false }),
    ],
  ],

local config

\```html vanilla babel=false
<template>
  <div id="box">box</div>
</template>

<style>
  #box {
    border: 1px solid red;
  }
</style>

<script>
var box = document.getElementById('box');
</script>

\```

Docs

https://xiguaxigua.com/docusaurus-plugin-demo-block

Contributing

Contributing

License

MIT

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.3.3

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago