https://github.com/traptitech/markdown-it-spoiler
!!spoiler!! plugin for markdown-it markdown parser
https://github.com/traptitech/markdown-it-spoiler
Last synced: 4 months ago
JSON representation
!!spoiler!! plugin for markdown-it markdown parser
- Host: GitHub
- URL: https://github.com/traptitech/markdown-it-spoiler
- Owner: traPtitech
- License: mit
- Created: 2019-09-13T13:00:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T00:28:37.000Z (almost 3 years ago)
- Last Synced: 2025-05-01T13:02:44.082Z (about 1 year ago)
- Language: JavaScript
- Size: 405 KB
- Stars: 7
- Watchers: 11
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdown-it-spoiler
[](https://badge.fury.io/js/%40traptitech%2Fmarkdown-it-spoiler)


[](https://dependabot.com)
> `!!spoiler!!` plugin for markdown-it markdown parser
`!!spoiler!!` => `spoiler`
## Installation
`$ npm i @traptitech/markdown-it-spoiler`
## `frontPriorMode`(default: `false`)
### when `false`
`!!!spoiler!!` => `!spoiler`
`!!spoiler!!!` => `spoiler!`
### when `true`
`!!!spolier!!` => `!spoiler`
`!!spolier!!!` => `spoiler!`