source: branches/mbutscher/work/WikidPadHelp/data/TextFormatting.wiki @ 195

Last change on this file since 195 was 188, checked in by mbutscher, 11 years ago

branches/mbutscher/work:
2.0beta01

  • Option to set tab width
  • Combined wiki-wide search and page list construction into one dialog to allow more comfortable search and more options to define page sets for export or print
  • Basic support for continuous export
  • Windows: Windows meta-files (vector graphic format) are saved as files if inserted into WikidPad from clipboard
  • Windows binary: Necessary VC++ runtime libraries now included in installer
  • New syntax \<<hide >> to hide a block from preview and export
  • New insertion "self" to include current page name into page
  • Menu items to insert color or icon name into editor (in addition to the insert of attributes)
  • No more unnecessary jumping around of page when ending or aborting incremental search (thanks to Christian Ziemski).
  • Bug fixed: Creating a wiki-bound func. page in an "original" database linked to absolute path of page file instead of relative path (this means that you can't move such a wiki to a new location).
  • Bug fixed: "Replace All" in wiki-wide search did not work, replacing links to a renamed wiki page did not work.
  • Bug fixed: Non-existing pages had no parents (which also affected template creation)
  • Bug fixed: List of parentless nodes was wrong
  • Bug fixed: Insertion \[:toc:] did not work.
  • Bug fixed: Jumping between footnote and footnote anchor did not work in editor.
  • Bug fixed: HTML publishing as set of HTML pages and as single page was mixed up.
  • Bug fixed: Adding icon or color attribute failed.
  • Bug fixed: Attribute \[view_pane: editor] did not work.
  • Bug fixed: If repeating an incremental search with escaped RE characters (e.g. '.', '?') the escaping backslashes accumulated.
  • Bug fixed: Preview failed on heading line (e.g. "+++") without content
  • Bug fixed: Heading level could be off by one.
  • Bug fixed: todo did not work inside a line.
File size: 3.5 KB
Line 
1++ Text Formatting
2
3As you type you can enter formatting commands in plain text.
4
5*bold*
6_italic_
7+ Heading1
8++ Heading2
9+++ Heading3
10++++ Heading4
11
12When you type in a really really really really really really really really really really really really
13long line you can tell wikidPad to rewrap it for you by pressing Ctrl-W. Try it on this line.
14
15You can even change the wrap position by adding a wrap attribute to your document.
16[wrap: 20]
17Changes the wrapping on this page to 20.
18
19[global.wrap: 70]
20changes the global wrap position to 70.
21
22For creating bulleted or numbered lists, see BulletedLists.
23
24
25+++ Escaping Formatting
26
27++++ Escaping markup
28To create a section of text with no formatting, wrap that section
29in a "\<< >>" block. Example:
30
31escape formatting
32
33<<
34*This should be bold* ThisShouldBeALink
35>>
36
37with formatting
38
39You can also use this on a single line <<like here>>. Inside the markup no newline is allowed.
40
41*This should be bold* ThisShouldBeALink
42
43Before and after the begin and end tags only whitespaces are allowed on the same line, so a << in the text does not prevent ALink from being highlighted.
44
45++++ Preformatted blocks
46
47You can use \<<\pre and >> to enclose blocks which have no special formatting (wiki words, italics) as the default escaping blocks but are shown in HTML as monospaced blocks and have exactly the same formatting as written in the source text.
48
49This is helpful especially for programming source code.
50
51Example:
52<<pre
53                      ^
54                     / \
55                    /   \
56                   /_____\
57                  (       )
58                  |       |
59                  |       |
60                  |       |
61                  |       |
62                  L_______j
63>>
64
65
66++++ Hidden markup
67
68Hidden markups are not published to HTML or shown in preview but are otherwise fully processed by WikidPad so you can enclose comments in it as well as attributes or todos which show up in tree.
69
70A hidden markup is written as \<<\hide >> either on a single line (no newline in it) or as a block like the escaping markup.
71
72<<hide
73You only see this in editor
74>>
75
76
77++++ Escaping characters
78To escape single characters, prepend them with a backslash. These characters are then interpreted as normal text, the backslash is suppressed in HTML preview and export. If you want to really write a backslash, write two of them: \\.
79
80With this, you can write \[brackets] or \*asterisks\* which are not seen as formatting commands by \WikidPad.
81
82
83+++ Tables
84
85A table is enclosed in <<| and >> tags which must be alone on a line as for format escaping tags.
86Each line with text is a table row, cells are separated by |. A table cell can contain wiki word links, bold and italic text. Tables show up properly only in preview mode.
87
88Example:
89
90<<|
91ScratchPad| This is| *a table*
92with two| rows and| three columns delimited by \| and \
93                                                    with two lines in a cell
94>>
95
96
97To use tabulators instead of vertical bar | as cell delimiters, use <<|t to start the table:
98
99<<|t
100ScratchPad    This is    *a table*
101with two    rows and    three columns delimited by tabs (not |) and \
102                                                    with two lines in a cell
103>>
104
105
106
107anchor: html
108+++ HTML tags and entities
109You can also use <b>HTML tags</b> and &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entities in WikidPad. Use preview to show the effect of them.
110
111
Note: See TracBrowser for help on using the repository browser.