A pandoc filter which removes div block in "rmnote" class
Only considered to work with Python3.
pip3 install git+https://github.com/pandocker/removalnotes.git
Python2 may work but never tested.
pip install git+https://github.com/pandocker/removalnotes.git
::::: rmnote
##### Note {-}
This is a note block. By the way this `:::` syntax is available from [pandoc 2.0](https://pandoc.org/MANUAL.html#divs-and-spans)
| t | a | ble |
|------|------|-----|
| hoge | piyo | foo |
:::::
<div class="rmnote">
##### Note {-}
This is another note block
</div>
::::: rmnote
This is a note block. By the way this :::
syntax is available from
pandoc 2.0
:::::
##### Note {-}
This is another note block
pandoc -M rmnote=false
... keeps DIV block(default)pandoc -M rmnote=true
... removes DIV block- YAML metadata file can contain
rmnote
entry
- New
:::
syntax does not work at end of file. Recommend to use<div class="rmnote">...</div>
tags
MIT license (c) 2018 pandocker/Kazuki Yamamoto