Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-md-loader

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-md-loader - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc