diff --git a/Makefile b/Makefile index 0c61302..46cb7e3 100644 --- a/Makefile +++ b/Makefile @@ -73,10 +73,5 @@ cleanD: @rm -f data/*.key doc: - @pandoc -s -f markdown+emoji -t html \ - --shift-heading-level-by=2 \ - --wrap=preserve \ - --toc \ - --toc-depth=2 \ - --highlight-style=tango \ - -o readme.html readme.md + @pandoc --defaults=pandocConfig.yaml + diff --git a/pandocConfig.yaml b/pandocConfig.yaml new file mode 100644 index 0000000..4d87b2b --- /dev/null +++ b/pandocConfig.yaml @@ -0,0 +1,38 @@ +from: markdown+emoji +to: html5 +output-file: readme.html +standalone: true +self-contained: false + +# leave blank for input from stdin, use [] for no input: +input-files: + - readme.md + +metadata: + title: "cryptomain.ex" + subtitle: "aes crypt / decrypt" + author: Antoine Roux + date: 2020-04-27T02:17:42+02:00 + abstract: "allow to crypt and decrypt file with aes algorithm" + description: | + this repository contain aes c++ program + this program allow to crypt and decrypt file + lang: en-GB + +# ERROR, WARNING, or INFO +verbosity: INFO + +# auto, preserve, or none +wrap: preserve +columns: 78 +dpi: 72 + +table-of-contents: true +toc-depth: 2 +shift-heading-level-by: 2 +# lf, crlf, or native +eol: lf +ascii: true +highlight-style: tango +preserve-tabs: true +fail-if-warnings: true diff --git a/readme.md b/readme.md index a5b820b..cbb0eb9 100644 --- a/readme.md +++ b/readme.md @@ -1,16 +1,4 @@ ---- -author: Antoine Roux -date: 2020-04-27T02:17:42+02:00 -title: "cryptomain.ex" -subtitle: "aes crypt / decrypt" -abstract: "allow to crypt and decrypt file with aes algorithm" -description: | - this repository contain aes c++ program - this program allow to crypt and decrypt file -lang: en-GB ---- - -# this repository contains 3 mains : +# this repository contains 3 Main : - crypto.ex use for test ( take a file, crypt and decrypt this file in one step ) products a crypted and decrypted file.