-
Notifications
You must be signed in to change notification settings - Fork 2
Code Block example
EdoFro edited this page Apr 11, 2021
·
3 revisions
/ Tutorial Examples / MDH nodes / Code Block example
<<< Table example - Text Block example >>>
It takes a node with a script in its note and shows it as a markdown code block
The 'code block' node looks for its first child that fulfills this rules:
- node's details starts with a dot '.'
- it has a note
and translates its content this way:
- takes the node's text as "title" of the code shown
- uses the first word after the dot in the details as the language of the code block
- uses the text in the node as the code
Code: **'[node's text]'**
```language
[node's note]
```

The resulting document can be seen here: MD-ex01_03.md
![]() |
This whole wiki was created using Freeplane, this Markdown Helper AddOn , ScreenToGif, PicPick, Krita and Inkscape. (C) edofro 2021 |
|---|
![]()
- Freeplane
- Markdown
- in Wikipedia
- Markdown in Github
- other Markdown cheat sheets in the web
- Github Wiki
