JSPM

docusaurus-plugin-snipsync

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q61239F
  • License MIT

Snipsync plugin for docusaurus - insert snippets into markdown files

Package Exports

  • docusaurus-plugin-snipsync

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docusaurus-plugin-snipsync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

docusaurus-plugin-snipsync

Integrates snipsync into the docusaurus build process.

Installation

In the same directory as your docusaurus installation run:

npm install docusaurus-plugin-snipsync

-- Or --

yarn add docusaurus-plugin-snipsync

Usage

Add the plugin to the list of plugins in your docusaurus.config.js

module.exports = {
  // ...
  plugins: [
    [
      'docusaurus-plugin-snipsync',
      {
        origins: [
          {
            files: ['../*/src/*.ts', '../create-project/samples/*.ts'],
          },
        ],
        target: 'docs',
        features: {
          enable_source_link: false,
        },
      },
    ],
  ],
};