{"repo":"jez/pandoc-sidenote","free":true,"listed":false,"github":"https://github.com/jez/pandoc-sidenote","clone":"git clone https://github.com/jez/pandoc-sidenote.git","description":"Convert Pandoc Markdown-style footnotes into sidenotes","language":"Haskell","stars":156,"topics":["pandoc","markdown","writing","pandoc-filter"],"license":"MIT","category":"productivity","readme_excerpt":"pandoc-sidenote Convert Pandoc Markdown-style footnotes into sidenotes This is a simple [Pandoc filter] to convert footnotes into a format that can be consumed by [Tufte CSS] and [Pandoc Markdown CSS Theme]. Lua filter vs JSON filter This project provides two, equivalent filters: - pandoc-sidenote.lua , a Lua filter, which is run invoked internal to the pandoc binary. See [Lua filters] in the Pandoc docs for more. This is the preferred way to use pandoc-sidenote . The Lua filter is newer than the JSON filter, but I have tested it on a wide range of Markdown files and it produces byte-wise identical results. - pandoc-sidenote , a [JSON filter][Pandoc filter] which reads a JSON representation of the pandoc AST on stdin and produces JSON on stdout. This filter is written in Haskell and compiled to a native executable. It uses the upstream pandoc-types library to deserialize the JSON it receives on stdin, which means that pandoc-sidenote can only be used with a version of pandoc built against the same pandoc-types version. See JSON filter dependencies below. This is cumbersome, as it means that pandoc-sidenote needs to be rebuilt and republished for any new pandoc versions which makes a change to the core AST, even if it's a part of the AST that this filter doesn't care about. JSON filter dependencies The Lua filter has no dependencies. Skip ahead to Installation to install the Lua filter. The JSON filter is built against a specific version of Pandoc. This table maps pandoc versi","default_branch":null,"files":null,"tree":[],"storefront":"/r/jez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jez/pandoc-sidenote/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}