tech:markdown
Ceci est une ancienne révision du document !
Table des matières
Notes Markdown Étendue
Lint
markdownlint (mdl)
$ sudo apt-get install markdownlint $ mdl notes_-_nerdctl.txt notes_-_nerdctl.txt:13: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:20: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:24: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:42: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:54: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:55: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:67: MD012 Multiple consecutive blank lines notes_-_nerdctl.txt:30: MD013 Line length notes_-_nerdctl.txt:50: MD031 Fenced code blocks should be surrounded by blank lines notes_-_nerdctl.txt:7: MD032 Lists should be surrounded by blank lines notes_-_nerdctl.txt:15: MD032 Lists should be surrounded by blank lines notes_-_nerdctl.txt:22: MD032 Lists should be surrounded by blank lines notes_-_nerdctl.txt:15: MD034 Bare URL used notes_-_nerdctl.txt:16: MD034 Bare URL used notes_-_nerdctl.txt:17: MD034 Bare URL used notes_-_nerdctl.txt:18: MD034 Bare URL used notes_-_nerdctl.txt:22: MD034 Bare URL used
Conversion Markdown vers ODT
pandoc notes.md -f markdown -t odt -o notes.odt
Autres
pandoc --list-input-formats lists native
Éditeurs Markdown
Voir :
- hedgedoc
Markdown slide
Voir :
Editer un fichier Markdown avec Atom
Atom \ Puis [CTRL] + [SHIFT] + [M] \ Ou “Packages - Markdown Preview - Toggle Preview”
Linter
Install
sudo apt-get install ruby-mdl
Utilisation
mdl fichier.md
Config - ignorer une règle
mdl ~/code/mkdocs/projet1/docs/start.md /home/jean/code/mkdocs/projet1/docs/start.md:41: MD013 Line length /home/jean/code/mkdocs/projet1/docs/start.md:171: MD013 Line length mdl -r ~MD013 ~/code/mkdocs/projet1/docs/start.md mdl -r ~MD013,~MD046 ~/code/mkdocs/projet1/docs/start.md
Autres
Markdown
For security reasons, the Unicode character U+0000 must be replaced with the REPLACEMENT CHARACTER (U+FFFD)
#sudo add-apt-repository ppa:wereturtle/ppa sudo apt update sudo apt install ghostwriter
markdown.pl
tech/markdown.1763470909.txt.gz · Dernière modification : de Jean-Baptiste
