diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-29 20:00:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-29 20:00:53 -0400 |
commit | 6c711f696f73bc59813f6834ec241aef3b626cbd (patch) | |
tree | ded4f0e8c7f8c672414ff3f2f84eac0f6d9073e5 /doc/syntax-guide.markdown | |
parent | ef087f5e22df1a0d97babef26aaf9b8960ee6d5d (diff) |
Include documentation in the application
Diffstat (limited to 'doc/syntax-guide.markdown')
-rw-r--r-- | doc/syntax-guide.markdown | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/doc/syntax-guide.markdown b/doc/syntax-guide.markdown new file mode 100644 index 00000000..8b1324f0 --- /dev/null +++ b/doc/syntax-guide.markdown @@ -0,0 +1,139 @@ +Syntax Guide +============ + +Kanboard use the [Markdown syntax](http://en.wikipedia.org/wiki/Markdown) for comments or task descriptions. +Here are some examples: + +Bold and italic +---------------- + +- Bold text: Use 2 asterisks or 2 underscores +- Italic text: Use 1 asterisk or 1 underscore + +### Source +``` +This **word** is very __important__. + +And here, an *italic* word with one _underscore_. +``` + +### Result + +This **word** is very __important__. + +And here, an *italic* word with one _underscore_. + +Unordered Lists +--------------- + +Unordered list can use asterisks, minuses or pluses. + +### Source + +``` +- Item 1 +- Item 2 +- Item 3 + +or + +* Item 1 +* Item 2 +* Item 3 +``` + +### Result + +- Item 1 +- Item 2 +- Item 3 + +Ordered lists +------------- + +Ordered lists are prefixed by a number like that: + +### Source + +``` +1. Do that first +2. Do this +3. And that +``` + +### Result + +1. Do that first +2. Do this +3. And that + +Links +----- + +### Source + +``` +[My link title](http://kanboard.net/) + +<http://kanboard.net> + +``` + +### Result + +[My link title](http://kanboard.net/) + +<http://kanboard.net> + +Source code +----------- + +### Inline code + +Use a backtick. + +``` +Execute this command: `tail -f /var/log/messages`. +``` + +### Result + +Execute this command: `tail -f /var/log/messages`. + +### Code blocks + +Use 3 backticks with eventually the language name. + +<pre> +<code class="language-markdown">```php +<?php + +phpinfo(); + +?> +``` +</code> +</pre> + +### Result + +``` +<?php + +phpinfo(); + +?> +``` + +Titles +------ + +### Source + +``` +# Title level 1 + +## Title level 2 + +### Title level 3 +``` |