en:yaml:texte
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:yaml:texte [2026/05/07 03:31] – Correction rendu syntaxe JDR-Bot dans DokuWiki cyrilfiesta | en:yaml:texte [2026/08/31 20:55] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 27: | Ligne 27: | ||
| | '' | | '' | ||
| | ''> | | ''> | ||
| + | |||
| + | ===== Highlighted code blocks ===== | ||
| + | |||
| + | <code yaml> | ||
| + | text: | | ||
| + | ```diff | ||
| + | - old rule | ||
| + | + new rule | ||
| + | ``` | ||
| + | |||
| + | ```python | ||
| + | def roll_dice(faces): | ||
| + | return random.randint(1, | ||
| + | ``` | ||
| + | </ | ||
| + | |||
| + | Supported languages: '' | ||
| + | |||
| ===== Story Blocks ===== | ===== Story Blocks ===== | ||
| Ligne 80: | Ligne 98: | ||
| text: "The room is dark." | text: "The room is dark." | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== The global markdown: field ===== | ||
| + | |||
| + | Set in the scenario header, it wraps **all** room texts: | ||
| + | |||
| + | ^ Value ^ Rendering ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| Ligne 96: | Ligne 128: | ||
| Tiles and grids use the extended picture syntax: [[en: | Tiles and grids use the extended picture syntax: [[en: | ||
| + | |||
| + | ===== Reusing the text of another room ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | <code yaml> | ||
| + | text: "The corridor goes on.[[ROOM: | ||
| + | </ | ||
| + | |||
| + | The French form is '' | ||
| + | |||
| + | The reference works on the web, in the desktop application and in an HTML5 export. Discord, the Terminal and the PDF show the referenced text in their usual linear form. | ||
| + | |||
| + | To build a conversation rather than plain text, see [[en: | ||
en/yaml/texte.1778117472.txt.gz · Dernière modification : de cyrilfiesta
