gridsome-plugin-remark-revealjs

1.0.3 • Public • Published

gridsome-remark-revealjs

Gridsome markdown remark transformer plugin to embed convert markdown files into Reveal.js HTML.

Please note that this package is WIP and will be optimized & cleaned-up soon.

Install

Note: This plugin depends on @gridsome/transformer-remark plugin.

npm install gridsome-remark-revealjs
yarn add gridsome-remark-revealjs

Configuration

gridsome.config.js

module.exports = {
  transformers: {
    remark: {
      plugins: ['gridsome-remark-revealjs'],
    }
  }
}

Usage

…?…

The resulting generated markdown will be:

<h1>Example javascript embed</h1>
<pre>
  <code class="language-jsx">
    function someFunc() {
      console.log('testo')
    }
  </code>
</pre>

Options

…?…

/gridsome-plugin-remark-revealjs/

    Package Sidebar

    Install

    npm i gridsome-plugin-remark-revealjs

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    22.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • martijndeheer