This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
start:syntaxkb [2016/09/01 11:21] andre [Diagrams] |
start:syntaxkb [2016/09/08 08:05] (current) andre [Colored Text] |
||
|---|---|---|---|
| Line 65: | Line 65: | ||
| * The knowledge base does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the config file. | * The knowledge base does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the config file. | ||
| * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. | * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. | ||
| + | |||
| + | ==== Colored Text ==== | ||
| + | |||
| + | Code sample: | ||
| + | |||
| + | <code> | ||
| + | <color green>text</color> | ||
| + | <color blue/lightgrey>text</color> | ||
| + | <color #FF0000>text</color> | ||
| + | <color /#FFff00>text</color> | ||
| + | </code> | ||
| + | |||
| + | will create: | ||
| + | |||
| + | <color green>text</color> | ||
| + | <color blue/lightgrey>text</color> | ||
| + | <color #FF0000>text</color> | ||
| + | <color /#FFff00>text</color> | ||
| + | |||
| + | The code supports the [[https://en.wikipedia.org/wiki/X11_color_names#Color_name_chart| X11 color names ]] | ||
| + | |||
| ==== Windows Shares ==== | ==== Windows Shares ==== | ||
| Line 495: | Line 516: | ||
| ===== Diagrams ===== | ===== Diagrams ===== | ||
| + | <BOOKMARK:diagrams> | ||
| ===Basics=== | ===Basics=== | ||
| Line 724: | Line 745: | ||
| Let's add arrows now. They're a little bit redundant here but it's for a greater variety. | Let's add arrows now. They're a little bit redundant here but it's for a greater variety. | ||
| - | </code> | + | <code> |
| <diagram> | <diagram> | ||
| | | | | | JAK |y@aa| MAK | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |JAK=James Kennedy\\ (c. 1770 - c. 1840)|MAK=Maria Kennedy\\ (c. 1775 - 1835) | | | | | | JAK |y@aa| MAK | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |JAK=James Kennedy\\ (c. 1770 - c. 1840)|MAK=Maria Kennedy\\ (c. 1775 - 1835) | ||
| Line 754: | Line 775: | ||
| [[start:kennedyarrows|Rendered tree]] | [[start:kennedyarrows|Rendered tree]] | ||
| + | ===Additional tests=== | ||
| + | |||
| + | Using all connection types: | ||
| + | |||
| + | <code> | ||
| + | <diagram> | ||
| + | | | |v| | | | |V| | | | ||
| + | | |,|!|.| | |F|:|7| | | |y| | |p| | | ||
| + | |)|-|+|-|(|D|~|%|~|C| |}| |{|]| |[| |*| |#| | ||
| + | | |`|!|'| | |L|:|J| | | |h| | |b| | | ||
| + | | | |^| | | | |A| | | | ||
| + | </diagram> | ||
| + | </code> | ||
| + | |||
| + | <diagram> | ||
| + | | | |v| | | | |V| | | | ||
| + | | |,|!|.| | |F|:|7| | | |y| | |p| | | ||
| + | |)|-|+|-|(|D|~|%|~|C| |}| |{|]| |[| |*| |#| | ||
| + | | |`|!|'| | |L|:|J| | | |h| | |b| | | ||
| + | | | |^| | | | |A| | | | ||
| + | </diagram> | ||
| + | |||
| + | Using all arrow types: [[start:allarrows|on the separate page]]. | ||