Skip to content

honeo/marked-id-no-overlap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marked-id-no-overlap

honeo/marked-id-no-overlap
marked-id-no-overlap

なにこれ

markedのRendererを弄ってid属性値を重複しないようにしたやつ。

example

# HOGE
## hoge
## hoge
## ほげ
# 1 2 3
<h1 id="HOGE">HOGE</h1>
	<h2 id="hoge">hoge</h2>
	<h2 id="hoge2">hoge</h2>
	<h2 id="ほげ">ほげ</h2>
<h1 id="1_2_3">1 2 3</h1>

使い方

$ npm i -S marked-id-no-overlap
import marked from 'marked-id-no-overlap';

About

markedをid重複しないようにしたやつ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published