vue-md-loader
Advanced tools
Comparing version 0.2.0 to 1.0.0
{ | ||
"name": "vue-md-loader", | ||
"version": "0.2.0", | ||
"description": "Webpack loader for converting Markdown files to Vue components.", | ||
"version": "1.0.0", | ||
"description": "Webpack loader for converting Markdown files to ALIVE Vue components.", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "nyc": { |
@@ -10,3 +10,3 @@ # vue-md-loader | ||
Webpack loader for converting Markdown files to Vue components. | ||
Webpack loader for converting Markdown files to ALIVE Vue components. | ||
@@ -58,2 +58,7 @@ * Configurable **[Markdown-It](https://github.com/markdown-it/markdown-it)** parser. | ||
Note that to get code highlighting to work, you need to: | ||
* include one of the highlight.js css files into your project, for example: `highlight.js/styles/github-gist.css`. | ||
* specify a lang in code block. ref: [creating and highlighting code blocks](https://help.github.com/articles/creating-and-highlighting-code-blocks/). | ||
### With Options | ||
@@ -237,3 +242,3 @@ | ||
A code block with `livePattern` inside itself becomes a live block. The matched body will become the live Vue component's name and reference. | ||
A code block with `livePattern` inside itself becomes a live block. The matched body will become the live Vue component's name and reference (note that they must be unique to each other within the same page). | ||
@@ -240,0 +245,0 @@ ### afterProcessLiveTemplate |
@@ -11,3 +11,5 @@ const MarkdownIt = require('markdown-it') | ||
return hljs.highlight(lang, str).value | ||
} catch (__) {} | ||
} catch (err) { | ||
// ignore | ||
} | ||
} | ||
@@ -14,0 +16,0 @@ return '' // use external default escaping |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
15706
223
0
270