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

https://github.com/daamien/pandoc-recap


https://github.com/daamien/pandoc-recap

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

[![PyPI version](https://badge.fury.io/py/pandoc-recap.svg)](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-recap

My 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
```