From 2ae8cfb74af0332ef8a97cbdfa973ab104abf0f3 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Fri, 25 Sep 2020 01:12:48 +0000 Subject: [PATCH 1/3] feat(postAsset): disable by default --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8772ac5..915fb99 100644 --- a/index.js +++ b/index.js @@ -17,8 +17,9 @@ hexo.config.marked = Object.assign({ headerIds: true, anchorAlias: false, lazyload: false, - // TODO: enable prependRoot by default in v3 + // TODO: enable prependRoot by default in v4 prependRoot: false, + postAsset: false, external_link: { enable: false, exclude: [], From ce56be9dbb50e9a2c2467954604e19ad97dfac3d Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Fri, 25 Sep 2020 01:17:47 +0000 Subject: [PATCH 2/3] docs: replace david-dm with shields.io badge - more reliable --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b018370..881725b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # hexo-renderer-marked -[![Build Status](https://travis-ci.org/hexojs/hexo-renderer-marked.svg?branch=master)](https://travis-ci.org/hexojs/hexo-renderer-marked) [![NPM version](https://badge.fury.io/js/hexo-renderer-marked.svg)](https://www.npmjs.com/package/hexo-renderer-marked) [![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-renderer-marked.svg)](https://coveralls.io/r/hexojs/hexo-renderer-marked?branch=master) -[![NPM Dependencies](https://david-dm.org/hexojs/hexo-renderer-marked.svg)](https://david-dm.org/hexojs/hexo-renderer-marked) -[![NPM DevDependencies](https://david-dm.org/hexojs/hexo-renderer-marked/dev-status.svg)](https://david-dm.org/hexojs/hexo-renderer-marked?type=dev) +[![Build Status](https://travis-ci.org/hexojs/hexo-renderer-marked.svg?branch=master)](https://travis-ci.org/hexojs/hexo-renderer-marked) +[![NPM version](https://badge.fury.io/js/hexo-renderer-marked.svg)](https://www.npmjs.com/package/hexo-renderer-marked) +[![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-renderer-marked.svg)](https://coveralls.io/r/hexojs/hexo-renderer-marked?branch=master) +[![NPM Dependencies](https://img.shields.io/librariesio/release/npm/hexo-renderer-marked.svg)](https://libraries.io/npm/hexo-renderer-marked) Add support for [Markdown]. This plugin uses [marked] as its render engine. From 1f4ac473d213333390236c969fc29f2666cc1f61 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Fri, 25 Sep 2020 01:18:06 +0000 Subject: [PATCH 3/3] release: 3.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03a676f..725c879 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-renderer-marked", - "version": "3.2.0", + "version": "3.3.0", "description": "Markdown renderer plugin for Hexo", "main": "index", "scripts": {