Skip to content

A pandoc filter for block comments in markdown documents.

License

Notifications You must be signed in to change notification settings

tomduck/pandoc-comments

Repository files navigation

pandoc-comments 0.1.0

pandoc-comments is a pandoc filter that adds a syntax extension to markdown for block comments.

Python is required. Install pandoc-comments using python setup.py install. This can be made available via pip on request.

Block comments are declared in markdown documents by using a percent sign (%) at the beginning of a paragraph. Percent signs used on subsequent lines of a paragraph may be used but have no additional effect. For example, see demo.md. Inline comments are not supported. Pandoc metadata blocks are not processed by this filter.

Processing demo.md with pandoc -s --filter pandoc-comments gives output in [md], pdf, tex, and html formats. Notice that comments are stripped from all output files.

If you find pandoc-comments useful, then please kindly give it a star on GitHub.

About

A pandoc filter for block comments in markdown documents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages