Text markup languages

From WhyNotWiki

Jump to: navigation, search

Text markup languages  edit   (Category  edit)


Contents

[edit] Users of text markup languages

[edit] Comparison of various text markup languages

[edit] commonalities

starting with single space causes pre-formatted text

  • MediaWiki
  • RDoc

[edit] differences

[edit] Comparison

Feature / Software MediaWiki TracWiki [1] MoinMoinWiki Textile RDoc
External links [http://example.com/ Link text]star_full.gif star_full.gif star_full.gif "Link text":http://example.com/ [Link text]{http://example.com/}
Internal (wiki) links [[Article title|Link text]]star_full.gif star_full.gif star_full.gif ArticleTitle or [wiki:ArticleTitle Link text] NA NA
Bold '''text''' '''text''' *text*?
Italic ''text'' /text/ ? _text_ ?
Underline <u>text</u> star_full.gif star_full.gif star_full.gif __text__
Strikethrough <del>text</del> star_full.gif star_full.gif star_full.gif ~~text~~
Feature / Software MediaWiki TracWiki MoinMoinWiki Textile RDoc
Preformatted/monospace inline <code>text</code> star_full.gif star_full.gif star_full.gif `text`
Preformatted/monospace block
<pre>
Block of text

or

  Block of text
star_full.gif star_full.gif star_full.gif
{{{
def HelloWorld():
   print "Hello World"
 }}}
Discussion citations (Not supported) star_full.gif star_full.gif star_full.gif
>> Someone's original text
> Someone else's reply text
My reply text
Block quotes
<blockquote>
This text is a quote from someone else.
</blockquote>
  This text is a quote from someone else.
Syntax highlighting (Not supported?)
{{{
#!python
class Test:

    def __init__(self):
        print "Hello World"
if __name__ == '__main__':
   Test()
}}}
Feature / Software MediaWiki TracWiki MoinMoinWiki Textile RDoc
Headings
= Heading =
== Subheading ==
=== Subsubheading ===
= Heading =
== Subheading ==
=== Subsubheading ===
=== With explicit id === #some_explicit_id
= Heading
== Subheading
=== Subsubheading
Lists
* Item 1
** Item 1.1
* Item 2

# Item 1
## Item 1.a
## Item 1.b
* Item 1
  * Item 1.1
* Item 2

1. Item 1
   a. Item 1.a
   a. Item 1.b
Tables
{| class="wikitable"
|-
! Heading
! Heading
|-
| Cell text
| Cell text
|}
||Cell 1||Cell 2||Cell 3||
||Cell 4||Cell 5||Cell 6||
Images [[Media:Image name]]? [[Image(photo.jpg, nolink)]]
Definition lists
:Word
;Definition
:Word
;Definition
Word::
  Definition
Word::
  Definition
Escaping <nowiki>'''stuff</nowiki>? !'!''stuff?
Feature
Feature
Feature / Software MediaWiki TracWiki MoinMoinWiki Textile RDoc

[edit] reStructuredText

http://docutils.sourceforge.net/rst.html reStructuredText

reStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system. It is useful for in-line program documentation (such as Python docstrings), for quickly creating simple web pages, and for standalone documents. reStructuredText is designed for extensibility for specific application domains. The reStructuredText parser is a component of Docutils. reStructuredText is a revision and reinterpretation of the StructuredText and Setext lightweight markup systems.

A ReStructuredText Primer (http://docutils.sourceforge.net/docs/user/rst/quickstart.html). Retrieved on 2007-04-05 09:35. (excerpts)

This is a paragraph.  It's quite
short.

   This paragraph will result in an indented block of
   text, typically used for quoting other text.



Inside paragraphs and other bodies of text, you may additionally mark text for italics with "*italics*" or bold with "**bold**".

If you want something to appear as a fixed-space literal, use "``double back-quotes``".




* a bullet point using "*"

  - a sub-list using "-"

    + yet another sub-list

  - another item



::

    This is preformatted text, and the
    last "::" paragraph is removed



Chapter 1 Title
===============

Section 1.1 Title
-----------------

Subsection 1.1.1 Title
~~~~~~~~~~~~~~~~~~~~~~

Section 1.2 Title
-----------------
Personal tools