info:markdown

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
info:markdown [2021/12/03 04:53] radeffinfo:markdown [2026/07/03 06:02] (Version actuelle) – [images] radeff
Ligne 1: Ligne 1:
-====== Markdown ====== +====== Markdown (md) ====== 
-{{tag>markdown}}+{{tag>markdown asciidoc}} 
 + 
 +<note tip>note Fred: depuis la rédaction de [[https://radeff.red/shlom/|mes polars]] en [[https://radeff.red/dokuwiki/tag:asciidoc?do=showtag&tag=asciidoc|asciidoc]], je suis devenu un accro du markdown! Couplé à [[info:pandoc|pandoc]] il fait des merveilles.</note> 
 Markdown est un langage de balisage léger créé par John Gruber en 2004. Son but est d'offrir une syntaxe facile à lire et à écrire. Un document balisé par Markdown peut être lu en l'état sans donner l’impression d'avoir été balisé ou formaté par des instructions particulières. Markdown est un langage de balisage léger créé par John Gruber en 2004. Son but est d'offrir une syntaxe facile à lire et à écrire. Un document balisé par Markdown peut être lu en l'état sans donner l’impression d'avoir été balisé ou formaté par des instructions particulières.
  
 Un document balisé par Markdown peut être converti facilement en HTML. Un document balisé par Markdown peut être converti facilement en HTML.
 +
 +
 +====== Cheatsheet ======
 +  * https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
 +  * http://commonmark.org/help/
 +====== images ======
 +on peut utiliser la syntaxe standard,
 +    ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")
 +si on veut des effets (size, align etc) le plus simple est de faire simplement avec html, eg
 +    <img src="drawing.jpg" alt="drawing" style="width:200px; float: left; padding-right: 1em"/>
 +
 +une image avec un lien?
 +    [![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")](url)
 +
 +====== Tools & Tips ======
 +  * [[info:pandoc|pandoc]]
 +  * [[info:dw2md|Migrer dokuwiki -> markdown]]
 +  * [[https://github.com/zaaack/vscode-markdown-editor|Markdown Editor — A full-featured WYSIWYG editor]] pour [[info:code:codium|codium]]
 +  * [[https://www.tablesgenerator.com/markdown_tables#|Convertir des tableaux csv en .md]] | [[https://tabletomarkdown.com/convert-spreadsheet-to-markdown/|idem]]
 +
 ===== Keyboard Shortcuts ===== ===== Keyboard Shortcuts =====
  
-<code>Heading+<code> 
 +Tables 
 + 
 +Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application. 
 + 
 +Colons can be used to align columns. 
 + 
 +| Tables        | Are           | Cool  | 
 +| ------------- |:-------------:| -----:| 
 +| col 3 is      | right-aligned | $1600 | 
 +| col 2 is      | centered      |   $12 | 
 +| zebra stripes | are neat      |    $1 | 
 + 
 +There must be at least 3 dashes separating each header cell. 
 +The outer pipes (|) are optional, and you don't need to make the  
 +raw Markdown line up prettily. You can also use inline Markdown. 
 + 
 +Markdown | Less | Pretty 
 +--- | --- | --- 
 +*Still* | `renders` | **nicely** 
 +1 | 2 | 3 
 + 
 + 
 + 
 +Heading
 ======= =======
  
Ligne 44: Ligne 91:
 Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported. Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported.
 </code> </code>
-====== Cheatsheet ====== 
-  * https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet 
-  * http://commonmark.org/help/ 
  
-====== Tools & Tips ====== +====== dokuwiki ====== 
-[[info:dw2md|Migrer dokuwiki -&gtmarkdown]]+[[:info:local_dokuwiki|dw]] utilise un dialecte pas bien pratique mais plusieurs plugins tentent d'autoriser du mdparmi ceux-ci, il y en a un qui fonctionne bien (au 5.6.2025), [[:info:dw:commonmark]],  
 +[[:info:dw:commonmark|testé avec succès!]] 
 + 
 +====== odt / pdf ====== 
 +convertir un .md en .odt (libreoffice/word) puis en .pdf 
 +[[md2pdf]] 
  • info/markdown.1638503620.txt.gz
  • Dernière modification : 2021/12/03 04:53
  • de radeff