Référence rapide

Aide-mémoire Kramdown

Guide rapide pour Kramdown sous Ruby et Jekyll : syntaxe étendue, attributs personnalisés (IAL), notes de bas de page, formules et abréviations.

· Publié le

Kramdown est un analyseur et convertisseur Markdown rapide écrit en Ruby pur, moteur par défaut de Jekyll.

Syntaxe d'attributs personnalisés (IAL)

Attachez des classes, identifiants et attributs HTML arbitraires directement aux éléments de bloc et en ligne :

# Styled Header {: #main-title .heading-large style="color: blue;"}

A styled paragraph with an attribute.
{: .intro-paragraph}

[Download PDF](report.pdf){: .btn .btn-primary target="_blank"}

Notes de bas de page

Here is a statement that requires citation.[^note1]

[^note1]: This is the footnote text displayed at the bottom of the page.

Abréviations

*[HTML]: Hyper Text Markup Language
*[CSS]: Cascading Style Sheets

The HTML specification is maintained by WHATWG.

Expressions mathématiques (KaTeX / MathJax)

Inline math: $$a^2 + b^2 = c^2$$

$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Références

Sujets associés