ajout filtre timesheet

This commit is contained in:
2020-12-07 17:33:52 +01:00
parent d2ac214af0
commit ec517decdf
3 changed files with 76 additions and 0 deletions

View File

@@ -35,4 +35,28 @@ Ceci est un truc (des trucs et astuces)
:::
```
### `timesheet.lua`
Extrait des timesheets d'un fichier markdown.
Usage:
Markdown associé:
---
timesheet: /path/to/file.csv
---
```{.timesheet}
2020-12-15, CL, 1, test
```
Execution:
```
pandoc --to markdown --lua-filter timesheet.lua
```
Le fichier CSV sera enregistré à la place du fichier `/path/to/file.csv`