fix pandoc.md

This commit is contained in:
piccihud 2023-04-16 19:39:44 +02:00
parent 7424d0de38
commit b652a77a45
1 changed files with 14 additions and 0 deletions

View File

@ -77,6 +77,20 @@ keywords: [Markdown, Example]
---
```
## Alias
Per semplificare, è consigliato crearsi un alias nel file `~/.bashrc`:
```bash
alias pd="pandoc -f markdown -t pdf --pdf-engine=xelatex -V lang=it -V colorlinks=true -V linkcolor=teal -V urlcolor=teal -V toccolor=gray --template eisvogel --listings -V table-use-row-colors=true"
```
Alla conversione successiva da file markdown a pdf sarà sufficiente digitare:
```bash
pd -s file.md -o file.pdf
```
## Collegamenti
- [https://linuxhub.it/articles/howto-convertire-i-formati-con-pandoc/](https://linuxhub.it/articles/howto-convertire-i-formati-con-pandoc/)