andros21 / imagine

A pandoc-filter for images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                                          \\\///
                                         / _  _ \
                                       (| (.)(.) |)
                .--------------------.OOOo--()--oOOO.-------------------.
                |                                                       |
                |        ____                          _                |
                |       /  _/____ ___   ____ _ ____ _ (_)____   ___     |
                |       / / / __ `__ \ / __ `// __ `// // __ \ / _ \    |
                |     _/ / / / / / / // /_/ // /_/ // // / / //  __/    |
                |    /___//_/ /_/ /_/ \__,_/ \__, //_//_/ /_/ \___/     |
                |                           /____/                      |
                |                                                       |
                '-------------------.oooO-------------------------------'
                                     (   )   Oooo.
                                      \ (    (   )
                                       \_)    ) /
                                             (_/

A pandoc filter to process codeblocks

ci cd tag

Imagine is a pandoc filter that will turn codeblocks tagged with certain classes into images

The following class are currently supported to render code blocks in images:

If not supported class is specified in the codeblock, by default imagine it replicates the codeblock and in case pandoc -t latex it converts it in a minted codeblock (syntax highlight on!)

Important

Refer to minted documentation for supported languages

Warning

Supported pandoc API versions 1.23

Examples

About

A pandoc-filter for images

License:MIT License


Languages

Language:Python 76.6%Language:Just 12.8%Language:Open Policy Agent 10.6%