Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.02 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.02 KB

markdown-it-spoiler

npm version check npm ci & run test automatic publish Dependabot Status

!!spoiler!! plugin for markdown-it markdown parser

!!spoiler!! => <span class="spoiler">spoiler</span>

Installation

$ npm i @traptitech/markdown-it-spoiler

frontPriorMode(default: false)

when false

!!!spoiler!! => !<span class="spoiler">spoiler</span> !!spoiler!!! => <span class="spoiler">spoiler!</span>

when true

!!!spolier!! => <span class="spoiler">!spoiler</span> !!spolier!!! => <span class="spoiler">spoiler</span>!