hexojs / hexo-renderer-markdown-it

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
MIT License
343 stars 60 forks source link

feat: permalinkSide #105

Closed curbengh closed 4 years ago

curbengh commented 4 years ago

Fixes #101

How to use:

markdown:
  anchors:
    permalink: true
    permalinkSide: 'right'
    permalinkSymbol: '#'

# should appear on the right side of each heading, instead of the default left.

noraj commented 4 years ago

Can you put the wiki as editable by everyone so I can updated https://github.com/hexojs/hexo-renderer-markdown-it/wiki/Advanced-Configuration to add this option.

noraj commented 4 years ago

Can you release v4.1.0 so we can use npm package v4.1.0.

curbengh commented 4 years ago

Can you release v4.1.0 so we can use npm package v4.1.0.

https://github.com/hexojs/hexo-renderer-markdown-it/pull/107

noraj commented 4 years ago

@curbengh Thx awesome