Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/srid/pandoc-link-context
- Owner: srid
- License: bsd-3-clause
- Created: 2020-11-16T18:16:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T23:52:29.000Z (about 1 year ago)
- Last Synced: 2024-08-03T15:08:01.838Z (4 months ago)
- Topics: backlinks, pandoc, zettelkasten
- Language: Nix
- Homepage:
- Size: 24.4 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - srid/pandoc-link-context - Extract context around links in Pandoc (Nix)
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)