https://github.com/daamien/pandoc-recap
https://github.com/daamien/pandoc-recap
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daamien/pandoc-recap
- Owner: daamien
- License: bsd-2-clause
- Created: 2024-03-19T09:43:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-16T09:47:10.000Z (about 1 year ago)
- Last Synced: 2025-02-23T22:36:14.128Z (4 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pypi.org/project/pandoc-recap/)
# pandoc-recap
Render a recap of the notes inside a document
## Example
Write a markdown file, define metadata variable,
and use them inside the with double brackets.```mardown
# My advices in life## Chapter 1 - Health
::: tip
Brush your teeth
:::## Chapter 2 - Friendship
::: tip
Be nice
:::## Conclusion
::: {#recap .tip .BulletList}
```Then call the filter when you generate the document:
```
$ pandoc foo.md --filter=pandoc-recapMy advices in life
Chapter 1 - Health
Brush your teeth
Chapter 2 - Friendship
Be nice
Conclusion
- Brush your teeth
- Be nice
```
## Install
```
pip install pandoc-recap
```