New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-renderer-markdown-it

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-renderer-markdown-it - npm Package Compare versions

Comparing version

to
1.0.1

2

package.json
{
"name": "hexo-renderer-markdown-it",
"version": "1.0.0",
"version": "1.0.1",
"description": "Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.",

@@ -5,0 +5,0 @@ "main": "index",

@@ -6,6 +6,16 @@ # hexo-renderer-markdown-it

## Installation
In it's current version, [Hexo] with `hexo-renderer-marked` predefined as a markdown renderer.
To use `hexo-renderer-markdown-it` you will have to:
- Remove `hexo-renderer-marked`
``` bash
$ npm uninstall hexo-renderer-marked --save
```
- Install `hexo-renderer-markdown-it`
``` bash
$ npm install hexo-renderer-markdown-it --save
```
- Configure the plugin using the template in the configuration section.

@@ -23,16 +33,16 @@ ## Configuration

MarkdownIt:
# Enable HTML tags in source
html: false,
# Use '/' to close single tags (<br />).
# This is only for full CommonMark compatibility.
# Enable HTML tags in source. Also needed so hexo can process code tags and
# shortcodes.
html: true,
# Use '/' to close single tags (<br />). This is only for full CommonMark
# compatibility.
xhtmlOut: false,
# Convert '\n' in paragraphs into <br>
# Convert '\n' (newline) in paragraphs into <br>
breaks: false,
# CSS language prefix for fenced blocks. Can be
# useful for external highlighters.
langPrefix: 'language-',
# CSS language prefix for fenced blocks. Useful for external highlighters.
langPrefix: '',
# Autoconvert URL-like text to links
linkify: false,
# Enable some language-neutral replacement + quotes beautification
typographer: false,
linkify: true,
# Enable some language-neutral replacement & quotes beautification
typographer: true,
# Double + single quotes replacement pairs, when typographer enabled,

@@ -39,0 +49,0 @@ # and smartquotes on. Set doubles to '«»' for Russian, '„“' for German.