At line 1 changed 2 lines |
!! Bold |
(weak majority at [Wikisym 06]) |
Bold and italic are both [[Text Emphasis]]. Bold and Italics should be able to embed in lists and one should be able to make links bold and italic. Text should be bold or italics across lines, but not across paragraphs. Also see [[bold and italics reasoning]] for creole's decisions. |
At line 3 added 13 lines |
!Bold |
Creole: |
{{{ **bold** }}} |
|
(Note the lack of whitespace between initial {{{**}}} and text is this part of the specification? see: [[Stricter Syntax]]) |
|
Recommended XHTML: |
{{{ <strong>bold</strong> }}} |
|
Output: |
__bold__ |
---- |
Creole: |
At line 5 changed 2 lines |
**bold** This might be problematic as it is a collision with bullet lists |
}}} |
Bold and italics should //be |
able// to cross lines. |
At line 8 changed one line |
[WikiMatrix bold syntax comparison|http://www.wikimatrix.org/syntax.php?i=23] |
But, should //not be... |
At line 10 changed 2 lines |
!! Italics |
(majority agreement at [Wikisym 06]) |
...able// to cross paragraphs. |
}}} |
At line 25 added one line |
Recommended XHTML: |
At line 14 changed 2 lines |
//italics// parsing URLs, harder to parse (majority) |
''italics'' Neopolitan, looks like quote, less intuitive |
<p> |
Bold and italics should <em>be</br> |
able</em> to cross lines. |
</p> |
<p> |
But, should //not be... |
</p> |
<p> |
...able// to cross paragraphs. |
</p> |
At line 39 added 26 lines |
Output: |
|
Bold and italics should ''be\\ |
able'' to cross lines. |
|
But, should //not be... |
|
...able// to cross paragraphs. |
|
---- |
[WikiMatrix bold syntax comparison|http://www.wikimatrix.org/syntax.php?i=23] |
---- |
|
!Italics |
Ignore // for italics processing if immediately following ''http:'' or ''ftp:'' |
|
Creole: |
{{{ //italics// }}} |
|
Recommended XHTML: |
{{{ <em>italics</em> }}} |
|
Output: |
''italics'' |
|
---- |
At line 66 added one line |
---- |
At line 74 added 10 lines |
|
!!Bold Italics |
Creole: |
{{{ **//bold italics//** }}} |
|
Recommended XHTML: |
{{{ <strong><em>bold italics</em></strong> }}} |
|
Output: |
__''Bold italics''__ |
At line 27 changed one line |
Examples: |
Creole: |
{{{ //**bold italics**// }}} |
At line 29 changed 3 lines |
Good: |
{{{ |
Some text **bold** some more text **italics** even more text. |
Recommended XHTML: |
{{{ <em><strong>bold italics</strong></em> }}} |
At line 33 changed one line |
**Bold words** some text //italic words// more text //**bold italics**// and **//italics bold//**. |
Output: |
''__Bold Italics__'' |
At line 35 changed one line |
Something **bold //bold italics// bold**, //italics **bold italics** italics//. |
Unacceptable: |
{{{ |
**//bold italics**// |
//**bold italics//** |
}}} |
At line 37 changed 2 lines |
**Some bold text |
spanning multiple lines** |
!!Bold and/or italic links |
Creole: |
{{{ |
//[[Important page|this link is italic]]// |
**[[Important page]]** |
//**[[Important page]]**// |
At line 41 changed one line |
Bad: |
Recommended XHTML: |
At line 43 changed one line |
Something **bold not closed until the end of paragraph |
<em><a href="http://www.examplewiki.com/Important_Page">this link is italic</a></em> |
<strong><a href="http://www.examplewiki.com/Important_page">Important page</a></strong> |
<em><strong><a href="http://www.examplewiki.com/Important_page">Important page</a></strong></em> |
}}} |
At line 45 changed one line |
new paragraph not bold anymore** closing makes it bold angain. |
Output: |
''[this link is italic|Important page]''\\ |
__[Important page]__\\ |
''__[Important page]__'' |
|
!!Bold, Italics, Links, Pre in Lists |
Creole: |
{{{ |
- **bold** item |
- //italic// item |
# item about a [[certain page]] |
# { { { //this// is **not** [[processed]] } } } |
At line 129 added one line |
Recommended XHTML: |
At line 49 changed one line |
Nested //italics **bold italics// bold**. |
<ul> |
<li><strong>bold</strong> item</li> |
<li><em>italic</em> item</li> |
</ul> |
<ol> |
<li>item about a <a href="http://www.examplewiki.com/certain_page">certain page</a></li> |
<li>//this// is **not** [[processed]]</li> |
</ol> |
At line 141 added 5 lines |
Output: |
* __bold__ item |
* ''italic'' item |
* item about a [certain page] |
* {{{//this// is **not** [[processed]]}}} |
At line 149 added one line |
|