DocBasicSyntax in split format
|
Here is information about basic syntax for TBWiki:
|
Here is information about basic syntax for TBWiki:{{TableOfContents}}
| |
General markup [edit section] | = General markup = * a blank line = a paragraph break * 4 or more dashes alone on line = a horizontal rule * number of dashes = thickness of line | |
| (below this is a thin line, formed with ----)----(below this is a thick line, formed with ----------)---------- | (below this is a thin line, formed with ----)----(below this is a thick line, formed with ----------)---------- | |
| * ''italic'' = surround text by two single-quotes | |
| ''italic'' = italic |
{{HTML(''italic'')}} = ''italic''
| |
| * '''bold''' = surround text by three single-quotes | |
| '''bold''' = bold |
{{HTML('''bold''')}} = '''bold'''
| |
| * ``code (monospaced font)`` = surround text by two backticks | |
``code`` = code
|
{{HTML(``code``)}} = ``code``
| |
Headings [edit section] | = Headings = * leading and trailing '=' at start of line => headings * number of '=' = heading level | |
2nd level heading [edit section]== 2nd level heading == |
== 2nd level heading ==was made with {{HTML(== 2nd level heading ==)}}
| |
3rd level heading [edit section]=== 3rd level heading === |
=== 3rd level heading ===was made with {{HTML(=== 3rd level heading ===)}}
| |
4th level heading [edit section]==== 4th level heading ==== |
==== 4th level heading ====was made with {{HTML(==== 4th level heading ====)}}
| |
Bullet Lists [edit section] | = Bullet Lists =You uses '*' or '-' with indentation, to create bullet lists: | |
{{{#!YellowBoxcolor=lightgrey * space and '*' = bullet * indentation = bullet level * indentation back to previous level does the right thing
| ||
| - you can use multiple lines for the content on the same bullet level, by indenting them the same level as the starting text - this is indented for a second-level bullet item, with multi-line text}}} | |
| Produces this: | Produces this: | |
| * space and '*' = bullet * indentation = bullet level * indentation back to previous level does the right thing | |
| - you can use multiple lines for the words on the same bullet level, by indenting them the same level as the starting text - this is indented for a second-level bullet item, with multi-line text | |
Definition lists [edit section]{{{
|
= Definition lists =You can create definition lists with the following syntax:{{{; word: definition}}}
| |
| example:; Red Baron: a very good pilot in world war I; Snoopy: a dog from the Peanuts cartoon | example:; Red Baron: a very good pilot in world war I; Snoopy: a dog from the ''Peanuts'' cartoon | |
| Definition lists should end with a blank line. | Definition lists should end with a blank line. | |
Images [edit section] | = Images =You can add inline images on a page with the syntax: * [''''''[image:image-name.jpg]]or * [''''''[image:ht''''''tp://server/remote-image.jpg] | |
| The image name can refer to a local file or a remote file. If the image namestarts with 'http', it is treated as a full URL to a remote site.A local file refers to a filename in this wiki's files area area(where uploaded files reside). | The image name can refer to a local file or a remote file. If the image namestarts with 'http', it is treated as a full URL to a remote site.A local file refers to a filename in this wiki's files area area(where uploaded files reside). | |
image options [edit section] | == image options ==You can optionally add options to control image display and handling,by placing a vertical bar after the image filename, followed by image options. The following options are supported: * width="xxx" * height="yyy" * alt="alternate text" | |
| If multiple attributes are used, they should be separated by a spaces. | If multiple attributes are used, they should be separated by a spaces. | |
| Note that this is the same syntax as used for HTML <img> tags. | Note that this is the same syntax as used for HTML <img> tags. | |
| Example: * [[image:image-name.jpg|height="200" alt="This is neat"]] | Example: * [''''''[image:image-name.jpg|height="200" alt="This is neat"]] | |
Links [edit section] | = Links =Links are either interpreted from plain text, when the part before the colonis a recognized URL prefix (ht''''''tp: or ht''''''ttps:), or are specified with surrounding double square brackets. | |
| * https:/server/page - automatically converted to link * double-square bracket - link to local page e.g. [''''''[FrontPage]] => [[FrontPage]] * double-square bracket with remote url - [ [ht''''''tp://google.com/]] => [[http://google.com/]] * vertical bar inside brackets = separates link from cover text * [''''''[FrontPage|go to the Front Page]] => [[FrontPage|go to the Front Page]] * [ [ht''''''tp://google.com|Google search engine]] => [[http://google.com|Google search engine]] * link to local files: [''''''[file:filename.doc]] => [[file:filename.doc]] * link from image: [''''''[image:image-name.jpg|FrontPage]] * link from remote image to local page: [''''''[image:ht''''''tp://server/image-name.jpg|FrontPage]] * link from local image to remote page: [''''''[image:image-name.jpg|ht''''''tp://server/other-page.html]] | |
Special marks [edit section] | = Special marks =The following special mark is supported: * caret-slash | |
^/ shows a green checkmark}}} |
{{{ ^/ shows a green checkmark}}}
| |
| Here is an example: | Here is an example: | |
|
| ^/ green checkmark supported! | |
Preformatted text [edit section] | = Preformatted text =Use triple braces to indicate text that should be output inpre-formatted format. That is, the word wrappings and leading spaces will be preserved. | |
| Could not find page "DocBasicSyntax" | ||
green checkmark supported!