Changes between Version 124 and Version 125 of WikiFormatting
- Timestamp:
- Jul 19, 2018, 11:37:24 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v124 v125 4 4 [[TranslatedPages]] 5 5 6 Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and powerful whole. 7 8 Trac has a built-in small and powerful wiki rendering engine. This wiki engine implements a growing subset of the commands from other popular Wikis, especially [http://moinmo.in/ MoinMoin] and [trac:WikiCreole]. 9 10 This page will give you an in-depth explanation of the wiki markup available anywhere WikiFormatting is allowed. 11 12 The sections below provide an overview for the most common syntax, each link in the ''Category'' column will lead you to the more detailed explanation later in this page. 13 14 A few other wiki pages present the advanced features of the Trac wiki markup in more depth: 6 Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and unified whole. 7 8 Trac has a built-in powerful wiki rendering engine that implements a subset of the commands from other popular Wikis, such as [http://moinmo.in/ MoinMoin] and [trac:WikiCreole]. 9 10 The sections below provide an overview for the most common syntax, each link in the ''Category'' column leads you to the more detailed explanation later in this page. 11 12 The following wiki pages present the advanced features of the Trac wiki markup in more depth: 15 13 - TracLinks covers all the possible ways to refer precisely to any Trac resource or parts thereof. 16 14 - WikiPageNames covers the various names a wiki page can take, whether in CamelCase or not. … … 28 26 || `'''bold'''`, `''italic''`, `'''''Wikipedia style'''''` || \ 29 27 || '''bold''', ''italic'', '''''Wikipedia style''''' || 28 || `**bold**`, `//italic//`, `**//!WikiCreole style//**` || \ 29 || **bold**, //italic//, **//!WikiCreole style//** || 30 30 || {{{`monospaced (''other markup ignored'')`}}} || \ 31 31 || `monospaced (''other markup ignored'')` || 32 || `**bold**`, `//italic//`, `**//!WikiCreole style//**` || \33 || **bold**, //italic//, **//!WikiCreole style//** ||34 32 |----------------------------------------------------------- 35 33 ||= [#Headings Headings] =||\ … … 223 221 }}} 224 222 }}} 225 {{{#!td style="padding-left: 2em" 226 {{{#!comment 227 Note to Editors: ... 228 }}} 229 }}} 223 || ''(comment is shown in edit mode only)'' || 230 224 |----------------------------------------------------------- 231 225 ||= [#Miscellaneous Miscellaneous] =||\ … … 353 347 The wiki supports both ordered/numbered and unordered lists. 354 348 355 Example:356 349 ||= Wiki Markup =||= Display =|| 357 350 {{{#!td … … 504 497 505 498 Cell headings can be specified by wrapping the content in a pair of '=' characters. 506 Note that the '=' characters have to stick to the cell separators , like this:499 Note that the '=' characters have to stick to the cell separators: 507 500 ||= Wiki Markup =||= Display =|| 508 501 {{{#!td … … 519 512 }}} 520 513 521 Finally, specifying an empty cell means that the next non empty cell will span the empty cells . For example:514 Finally, specifying an empty cell means that the next non empty cell will span the empty cells: 522 515 ||= Wiki Markup =||= Display =|| 523 516 {{{#!td … … 536 529 }}} 537 530 538 Note that if the content of a cell "sticks" to one side of the cell and only one, then the text will be aligned on that side. Example:531 Note that if the content of a cell sticks to one side of the cell and only one, then the text will be aligned on that side: 539 532 ||= Wiki Markup =||= Display =|| 540 533 {{{#!td … … 561 554 }}} 562 555 563 If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line .556 If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line: 564 557 565 558 ||= Wiki Markup =|| … … 672 665 == Setting Anchors 673 666 674 An anchor, or more correctly speaking, an [http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 anchor name] can be added explicitly at any place in the Wiki page, in orderto uniquely identify a position in the document:667 An anchor, or more correctly speaking, an [http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 anchor name] can be added explicitly at any place in the Wiki page, to uniquely identify a position in the document: 675 668 676 669 {{{ … … 678 671 }}} 679 672 680 This syntax was chosen to match the format for explicitly naming the header id [#Headings documented above] . For example:673 This syntax was chosen to match the format for explicitly naming the header id [#Headings documented above]: 681 674 {{{ 682 675 == Long title == #title