Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/srid/pandoc-link-context

Extract context around links in Pandoc
https://github.com/srid/pandoc-link-context

backlinks pandoc zettelkasten

Last synced: 2 months ago
JSON representation

Extract context around links in Pandoc

Awesome Lists containing this project

README

        

# pandoc-link-context

This library extracts "[contextual links](https://notes.andymatuschak.org/Contextual_backlinks)" from your Pandoc document. That is, it queries all links with their surrounding context (such as the paragraph or the list item they are in). See it in action [here][ex] (scroll to bottom).

[ex]: https://neuron.zettel.page/linking

## Examples

- [Used in neuron](https://github.com/srid/neuron/blob/9197716ec9fc45103019f0eea4106a4e82820529/neuron/src/lib/Neuron/Zettelkasten/Zettel/Parser.hs#L86)
- [Used in emanote](https://github.com/srid/emanote/blob/a8ef71045b6ddcad9b779821dbaf586cd952fa66/src/Emanote/Model/Link/Rel.hs#L64)