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 [2025/05/13 06:34] radeffinfo:markdown [2026/07/03 06:02] (Version actuelle) – [images] radeff
Ligne 1: Ligne 1:
-====== Markdown ======+====== Markdown (md) ======
 {{tag>markdown asciidoc}} {{tag>markdown asciidoc}}
  
Ligne 7: Ligne 7:
  
 Un document balisé par Markdown peut être converti facilement en HTML. Un document balisé par Markdown peut être converti facilement en HTML.
 +
  
 ====== Cheatsheet ====== ====== Cheatsheet ======
   * https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet   * https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
   * http://commonmark.org/help/   * 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 ====== ====== Tools & Tips ======
Ligne 20: Ligne 29:
 ===== 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 58: Ligne 91:
 Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported. Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported.
 </code> </code>
 +
 +====== dokuwiki ======
 +[[:info:local_dokuwiki|dw]] utilise un dialecte pas bien pratique mais plusieurs plugins tentent d'autoriser du md; parmi 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.1747110896.txt.gz
  • Dernière modification : 2025/05/13 06:34
  • de radeff