(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

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.

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:
Bold and italics should //be
able// to cross lines.

But, should //not be...

...able// to cross paragraphs.

Recommended XHTML:

<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>

Output:

Bold and italics should be
able
to cross lines.

But, should not be...

...able to cross paragraphs.


WikiMatrix bold syntax comparison

Italics#

Ignore for italics processing if immediately following http: or ftp:

Creole:

 //italics// 

Recommended XHTML:

 <em>italics</em> 

Output: italics


WikiMatrix italics syntax comparison

Bold Italics#

//**bold italics**//
**//bold italics//**

Bold Italics#

Creole:
 **//bold italics//** 

Recommended XHTML:

 <strong><em>bold italics</em></strong> 

Output: Bold italics


Creole:
 //**bold italics**// 

Recommended XHTML:

 <em><strong>bold italics</strong></em> 

Output: Bold Italics

Unacceptable:

**//bold italics**//
//**bold italics//**
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

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]]

Also see All Markup

Add new attachment

Only authorized users are allowed to upload new attachments.

« This page (revision-27) was last changed on 16-Mai-2008 13:59 by Isonomia