[Notes] - TB11 / TB12 / TB13 - Markdown Reference
Depuis la version 11, il est possible de créer des notes au format Markdown.
Voir la page de description du site de l'éditeur : TheBrain Markdown Format Information
Les marques Markdown
Standard Markdown Markdown starts with plain text and allows document formatting with easy-to-type markup. The formatting punctuation is hidden when you are not editing your document. TheBrain supports the following subset of Markdown :
La synthaxe Markdown permet la mise en forme de documents avec des balises faciles à saisir. La visualisation du formatage des balises Markdown est masquée lorsque vous ne modifiez pas votre note. TheBrain prend en charge les marques Markdown ci-dessous :
| Marque | Explication et résultat visuel | |
|---|---|---|
| A paragraph Another paragraph. | Les paragraphes sont simplement une seule ligne de texte sans coupure, suivie de deux sauts de ligne entre les autres paragraphes. |
| # Title | Les différents niveaux des titres doivent être précédés par le symbole # au tout début de la ligne. Un seul # permet de créer un titre de niveau 1, deux ## permet de créer un titre de niveau 2, etc |
| ## Heading | Titre de niveau 2 |
| ### Sub-heading | Titre de niveau 3 |
| > A blockquote | Start a line with >to get > A blockquote |
| *Italic* emphasis | Italic emphasis |
| **Bold** emphasis | Bold emphasis |
| Inline code style | Inline code style (monospaced formatting) |
| Marque | Explication et résultat visuel | |
|---|---|---|
| * A bullet list * Unordered items | * A bullet list * Unordered items |
| 1. Numbered list 2. Ordered items | 1. Numbered list 2. Ordered items |
| Marque | Explication et résultat visuel | |
|---|---|---|
| [a link](https://www.msi.nc) | This is the link le site incroyable MSI.nc. Un lien vers (l'URLs d'une idée locale) s'applique de la même manière, avec un brain: link: `[A thought] |
|  | In the desktop and mobile clients, add images using copy-and-paste or drag-and-drop. Images can be resized from full width (100%) down to 5%. An image at 50% width is indicated by appending #$width=50p$ to the image address. |
| Horizontal rule --- Between paragraphs | Horizontal rule * * * Between paragraphs |
\* Escaped text | * Escaped text Use \ to escape characters that would otherwise be interpretted as markdown formatting commands. In this example, the line would be a bulleted list if the backslash were not present. |
Quelques marques Markdown modifiées par TheBrain
TheBrain ignore les balises HTML et les traite simplement comme du texte simple. TheBrain modifie la l'interprétation des caractères Markdown suivants :
| Marque | Explication et résultat visuel | |
|---|---|---|
First line Another line | First line Another line Newline characters in (when you press Enter/Return) are always respected whereas traditional Markdown would ignore single line breaks unless the line ended with space. | |
| + Done (checked) * To do (unchecked) * Normal bullet item | * Done (checked) * To do (unchecked) * Normal bullet item To do (unchecked) |
| _Underlined_ text | Underlined text |
Les extensions du format Markdows propres à TheBrain
Les extensions du formatage Markdown propres à TheBrain 11 afin d'ajouter la prise en charge des formats suivants :
| Marque | Explication et résultat visuel | |
|---|---|---|
| :-- Left justified | Left justified Line justification is specifed by adding :-- :-: or --: at the start of the line. |
| :-: Centered | Centered |
| --: Right justified | Right justified |
| Code block across multiple lines. | Code block across multiple lines. Code blocks are monospaced and ignore markdown formatting within them. |
| The game is -almost- over | The game is almost over. Add strikethrough to a word or phrase with a single hyphen on either side. |
| 10^2 = 100 | 102 = 100 Superscript is supported using ^ as a delimiter. These tags are slighty different in that they can be applied just at the start of the text to be affected and end automatically at punctuation or a space. To extend beyond punctuation, add a second ^ at the end also. |
| H~2~O is water | H2O is water. Subscript is supported using ~ as a delimiter in a similar manner as superscript. |
| Marque | Explication et résultat visuel | |
|---|---|---|
| :{Red on yellow:(style="background-color:#ffff00;color:#aa0000"):}: | Red on yellow Attributes for text foreground and background colors are applied by prefixing the style attribute with :( and ending it with :). The span indicating the text to which the attribute should apply is specified by surrounding it with :{ and }:. If an attribute is placed outside of a span, it will be applied to the entire line of text. |
| :{Text in a special font:(style="font-family:Lobster;font-size:150%):}: | Text in a special font Attributes for font-family and font-size are also supported by TheBrain. Note that here is no UI for specifying font-size at this time. |
| Similar to GitHub Flavored Markdown except Each line of a table must start and end with \| La ligne de séparation après l'entête n'est pas nécessaire |
In the desktop and mobile clients, add images using copy-and-paste or drag-and-drop. Images can be resized from full width (100%) down to 5%. An image at 50% width is indicated by appending