eleventy-plugin-markdown-copy-button
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -24,8 +24,3 @@ const addWebComponentDefinitions = require("eleventy-plugin-add-web-component-definitions"); | ||
}); | ||
let markdownIt = require("markdown-it"); | ||
markdownLibrary = markdownIt({ | ||
html: true, | ||
breaks: true, | ||
linkify: true, | ||
}); | ||
markdownLibrary = eleventyConfig.markdownLibrary; | ||
@@ -32,0 +27,0 @@ // Remember old renderer, if overridden, or proxy to default renderer |
{ | ||
"name": "eleventy-plugin-markdown-copy-button", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "An 11ty plugin which adds a button which copies markdown code snippets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# eleventy-plugin-markdown-copy-button | ||
> Important: currently only works with the default 11ty library markdown-it. | ||
```js | ||
@@ -4,0 +6,0 @@ module.exports = (eleventyConfig) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89
5483
40