Skip to content
Snippets Groups Projects

Update Page “test-typographie”

Merged Martial L requested to merge cms/pages/test-typographie into master
@@ -2,16 +2,15 @@
title: Test typographie
description: Test...
---
# Test
---
- - -
**Advertisement :)**
- **[pica](https://nodeca.github.io/pica/demo/)** - high quality and fast image
* **[pica](https://nodeca.github.io/pica/demo/)** - high quality and fast image
resize in browser.
- **[babelfish](https://github.com/nodeca/babelfish/)** - developer friendly
* **[babelfish](https://github.com/nodeca/babelfish/)** - developer friendly
i18n with plurals support and easy syntax.
## You will like those projects!
@@ -30,11 +29,39 @@ description: Test...
## Horizontal Rules
---
- - -
---
---
- - -
<alert type="info">
Alert de type "info"
</alert>
<alert type="warning">
Alert de type "warning"
</alert>
<details>
<summary> Afficher le contenu masqué</summary>
Ici le contenu masqué
</details>
<alert type="info">
<details> <summary>**Afficher le contenu masqué**</summary>
Ici le contenu masqué
</details>
</alert>
## Lexique
`<lexique>blockchain</lexique>` Donne : <lexique>blockchain</lexique>
`<lexique="forgeron">Forgeurs</lexique>` Donne : <lexique="forgeron">Forgeurs</lexique>
## Typographic replacements
@@ -54,9 +81,9 @@ test.. test... test..... test?..... test!....
**This is bold text**
_This is italic text_
*This is italic text*
_This is italic text_
*This is italic text*
~~Strikethrough~~
@@ -72,27 +99,28 @@ _This is italic text_
Unordered
- Create a list by starting a line with `+`, `-`, or `*`
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
* Create a list by starting a line with `+`, `-`, or `*`
* Sub-lists are made by indenting 2 spaces:
* Marker character change forces new list start:
* Ac tristique libero volutpat at
* Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Very easy!
* Nulla volutpat aliquam velit
* Very easy!
Ordered
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa
4. You can use sequential numbers...
5. ...or keep all the numbers as `1.`
Start numbering with offset:
57. foo
1. bar
58. bar
## Code
@@ -100,10 +128,12 @@ Inline `code`
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
```
// Some comments
line 1 of code
line 2 of code
line 3 of code
```
Block code "fences"
@@ -131,38 +161,39 @@ console.log(foo(5))
Right aligned columns
| Option | Description |
| -----: | ------------------------------------------------------------------------: |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
| Option | Description |
| ------ | ------------------------------------------------------------------------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
## Links
[link text](http://dev.nodeca.com)
[link with title](http://nodeca.github.io/pica/demo/ 'title text!')
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
## Images
![Minion](https://octodex.github.com/images/minion.png)
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat')
![Minion](https://octodex.github.com/images/minion.png)
<img src="https://octodex.github.com/images/minion.png" width="300" align ="right" >
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
Like links, Images also have a footnote style syntax
![Alt text][id]
![Alt text](https://octodex.github.com/images/dojocat.jpg "The Dojocat")
With a reference later in the document defining the URL location:
[id]: https://octodex.github.com/images/dojocat.jpg 'The Dojocat'
## Plugins
The killer feature of `markdown-it` is very effective support of
[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).
<img src="https://octodex.github.com/images/minion.png" width="300" align ="right" >
### [Emojies](https://github.com/markdown-it/markdown-it-emoji)
> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
@@ -173,16 +204,16 @@ see [how to change output](https://github.com/markdown-it/markdown-it-emoji#chan
### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)
- 19^th^
- H~2~O
* 19^th^
* H\~2\~O
### [\<ins>](https://github.com/markdown-it/markdown-it-ins)
### [<ins>](https://github.com/markdown-it/markdown-it-ins)
++Inserted text++
### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
### [<mark>](https://github.com/markdown-it/markdown-it-mark)
==Marked text==
\==Marked text==
### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
@@ -190,13 +221,15 @@ Footnote 1 link[^first].
Footnote 2 link[^second].
Inline footnote^[Text of inline footnote] definition.
Inline footnote^\[Text of inline footnote] definition.
Duplicated footnote reference[^second].
[^first]: Footnote **can have markup**
and multiple paragraphs.
```
and multiple paragraphs.
```
[^second]: Footnote text.
@@ -207,22 +240,24 @@ Term 1
: Definition 1
with lazy continuation.
Term 2 with _inline markup_
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
```
{ some code, part of Definition 2 }
Third paragraph of definition 2.
Third paragraph of definition 2.
```
_Compact style:_
*Compact style:*
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
\~ Definition 2a
\~ Definition 2b
### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
@@ -230,10 +265,10 @@ This is HTML abbreviation example.
It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
\*[HTML]: Hyper Text Markup Language
\*\[HTML]: Hyper Text Markup Language
### [Custom containers](https://github.com/markdown-it/markdown-it-container)
::: warning
_here be dragons_
:::
*here be dragons*
:::
\ No newline at end of file