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 75 added 9 lines |
!!Bold Italics |
Creole: |
{{{ **//bold italics//** }}} |
|
Recommended XHTML: |
{{{ <strong><em>bold italics</em></strong> }}} |
|
Output: |
__''Bold italics''__ |
At line 85 added 2 lines |
Creole: |
{{{ //**bold italics**// }}} |
At line 88 added 62 lines |
Recommended XHTML: |
{{{ <em><strong>bold italics</strong></em> }}} |
|
Output: |
''__Bold Italics__'' |
|
Unacceptable: |
{{{ |
**//bold italics**// |
//**bold italics//** |
}}} |
|
!!Bold and/or italic links |
Creole: |
{{{ |
//[[Important page|this link is italic]]// |
**[[Important page]]** |
//**[[Important page]]**// |
}}} |
|
Recommended XHTML: |
{{{ |
<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> |
}}} |
|
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]] } } } |
}}} |
|
Recommended XHTML: |
{{{ |
<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> |
}}} |
|
Output: |
* __bold__ item |
* ''italic'' item |
* item about a [certain page] |
* {{{//this// is **not** [[processed]]}}} |
|
---- |
|
|