Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Lightweight markup language

From Wikipedia, the free encyclopedia
Markup language with simple, unobtrusive syntax
It has been suggested that some portions of this article besplit into multiple articles. (Discuss)(March 2025)

Alightweight markup language (LML), also termed asimple orhumane markup language, is amarkup language with simple, unobtrusive syntax. It is designed to be easy to write using any generic text editor and easy to read in its raw form. Lightweight markup languages are used in applications where it may be necessary to read the raw document as well as the final rendered output.

For instance, a person downloading a software library might prefer to read the documentation in a text editor rather than a web browser. Another application for such languages is to provide for data entry in web-based publishing, such asblogs andwikis, where the input interface is a simpletext box. The server software then converts the input into a commondocument markup language likeHTML.

History

[edit]

Lightweight markup languages were originally used on text-only displays which could not display characters initalics orbold, so informal methods to convey this information had to be developed. This formatting choice was naturally carried forth to plain-text email communications.Console browsers may also resort to similar display conventions.

In 1986 international standardSGML provided facilities to define and parse lightweight markup languages using grammars and tag implication. The 1998 W3CXML is a profile of SGML that omits these facilities. However, no SGMLdocument type definition (DTD) for any of the languages listed below is known.

Types

[edit]

Lightweight markup languages can be categorized by their tag types. Like HTML (<b>bold</b>), some languages use named elements that share a common format for start and end tags (e.g.BBCode[b]bold[/b]), whereas proper lightweight markup languages are restricted toASCII-only punctuation marks and other non-letter symbols for tags, but some also mix both styles (e.g.Textilebq.) or allow embedded HTML (e.g.Markdown), possibly extended with custom elements (e.g.MediaWiki<ref>'''source'''</ref>).

Most languages distinguish between markup for lines or blocks and for shorter spans of texts, but some only support inline markup.

Some markup languages are tailored for a specific purpose, such as documenting computer code (e.g.POD,reST,RD) or being converted to a certain output format (usually HTML orLaTeX) and nothing else, others are more general in application. This includes whether they are oriented on textual presentation or on data serialization.[clarification needed]

Presentation oriented languages includeAsciiDoc,atx,BBCode,Creole, Crossmark, Djot, Epytext,Haml,JsonML,MakeDoc,Markdown,Org-mode,POD (Perl),reST (Python), RD (Ruby),Setext,SiSU,SPIP, Xupl,Texy!, Textile,txt2tags,UDO andWikitext.

Data serialization oriented languages includeCurl (homoiconic, but also reads JSON; every object serializes),JSON, andYAML.

[icon]
This sectionneeds expansion with: comparison table with types of languages explained above; could be integrated into other high-level tables. You can help byadding to it.(June 2014)


Comparison of language features

[edit]
Comparing language features
LanguageHTML export toolHTML import toolTablesLink titlesclass attributeid attributeRelease date
AsciiDocYesYesYesYesYesYes2002-11-25[1]
BBCodeNoNoYesNoNoNo1998
CreoleNoNoYesNoNoNo2007-07-04[2]
DjotYesYes[3]YesYesYesYes2022-07-30[4]
DokuWikiYesYes/NoYesYesYes/NoYes/No2004-07-04[5]
GemtextYes?NoYesNoNo2020
GitHub Flavored MarkdownYesNoYesYesNoNo2011-04-28+
Jira Formatting NotationYesNoYesYesNoNo2002+[6]
MarkdownYesYesNoYesYes/NoYes/No2004-03-19[7][8]
Markdown ExtraYesYesYes[9]YesYesYes2013-04-11[10]
MediaWikiYesYesYesYesYesYes2002[11]
MultiMarkdownYesNoYesYesNoNo2009-07-13
Org-modeYesYes[12]YesYesYesYes2003[13]
PmWikiYes[14]YesYesYesYesYes2002-01
PODYes?NoYes??1994
reStructuredTextYesYes[12]YesYesYesauto2002-04-02[15]
setextYesYesNoYesNoNo1992[16]
SlackNoNoNoYesNoNo2013+[17][18]
TextileYesNoYesYesYesYes2002-12-26[19]
TexyYesYesYesYesYesYes2004[20]
TiddlyWikiYesNoYesYesYesNo2004-09[21]
txt2tagsYesYes[22]Yes[23]YesYes/NoYes/No2001-07-26[24]
WhatsAppNoNoNoNoNoNo2016-03-16[25]

Markdown's own syntax does not support class attributes or id attributes; however, since Markdown supports the inclusion of native HTML code, these features can be implemented using direct HTML. (Some extensions may support these features.)

txt2tags' own syntax does not support class attributes or id attributes; however, since txt2tags supports inclusion of native HTML code in tagged areas, these features can be implemented using direct HTML when saving to an HTML target.[26]

DokuWiki does not support HTML import natively, but HTML to DokuWiki converters and importers exist and are mentioned in the official documentation.[27] DokuWiki does not support class or id attributes, but can be set up to support HTML code, which does support both features. HTML code support was built-in before release 2023-04-04.[28] In later versions, HTML code support can be achieved through plugins, though it is discouraged.[28]

Comparison of implementation features

[edit]
Comparing implementations, especially output formats
LanguageImplementationsXHTMLCon/LaTeXPDFDocBookODFEPUBDOC(X)LMLsOtherLicense
AsciiDocPython,Ruby,JavaScript,JavaXHTMLLaTeXPDFDocBookODFEPUBNoMan page, etc.GNU GPL, MIT
BBCodePerl,PHP,C#,Python,Ruby(X)HTMLNoNoNoNoNoNoPublic Domain
CreolePHP,Python,Ruby,JavaScript[29]Depends on implementationCC_BY-SA 1.0
DjotLua (originally),JavaScript,Prolog,Rust[3]HTMLLaTeX, ConTeXtPDFDocBookODFEPUBRTFMediaWiki, reSTMan page, S5 etc.MIT
GitHub Flavored MarkdownHaskell (Pandoc)HTMLLaTeX, ConTeXtPDFDocBookODFEPUBDOCAsciiDoc,reSTOPMLGPL
Java,[30]JavaScript,[31][32][33]PHP,[34][35]Python,[36]Ruby[37]HTML[31][32][33][35][36]NoNoNoNoNoNoProprietary
MarkdownPerl (originally),C,[38][39]Python,[40]JavaScript,Haskell,[12]Ruby,[41]C#,Java,PHPHTMLLaTeX, ConTeXtPDFDocBookODFEPUBRTFMediaWiki,reSTMan page,S5 etc.BSD-style & GPL (both)
Markdown ExtraPHP (originally),Python,RubyXHTMLNoNoNoNoNoNoBSD-style & GPL (both)
MediaWikiPerl,PHP,Haskell,PythonXHTMLNoNoNoNoNoNoGNU GPL
MultiMarkdownC,Perl(X)HTMLLaTeXPDFNoODFNoDOC, RTFOPMLGPL,MIT
Org-modeEmacs Lisp,Ruby (parser only),Perl,OCamlXHTMLLaTeXPDFDocBookODFEPUB[42]DOCX[42]MarkdownTXT,XOXO,iCalendar,Texinfo,man, contrib:groff,s5, deck.js, Confluence Wiki Markup,[43]TaskJuggler,RSS,FreeMindGPL
PmWikiPHPXHTML 1.0 Transitional, HTML5NoPDF export addonsNoNoEPUB export addonNoGNU GPL
PODPerl(X)HTML, XMLLaTeXPDFDocBookNoNoRTFMan page,plain textArtistic License, Perl's license
reStructuredTextPython,[44][45]Haskell (Pandoc),Java,HTML, XMLLaTeXPDFDocBookODFEPUBDOCman,S5,Devhelp,QT Help,CHM,JSONPublic Domain
TextilePHP,JavaScript,Java,Perl,Python,Ruby,ASP,C#,HaskellXHTMLNoNoNoNoNoNoTextile License
Texy!PHP,C#,Java[a](X)HTMLNoNoNoNoNoNoGNU GPL v2 License
txt2tagsPython,[46]PHP[47](X)HTML, SGMLLaTeXPDFDocBookODFEPUBDOCCreole,AsciiDoc,MediaWiki,MoinMoin,PmWiki,DokuWiki,Google Code Wikiroff,man,MagicPoint, Lout,PageMaker,ASCII Art,TXTGPL

Comparison of lightweight markup language syntax

[edit]

Inline span syntax

[edit]

Although usually documented as yielding italic and bold text, most lightweight markup processors output semantic HTML elementsem andstrong instead. Monospaced text may either result in semanticcode or presentationaltt elements. Few languages make a distinction, e.g. Textile, or allow the user to configure the output easily, e.g. Texy.

LMLs sometimes differ for multi-word markup where some require the markup characters to replace the inter-word spaces (infix).Some languages require a single character as prefix and suffix, other need doubled or even tripled ones or support both with slightly different meaning, e.g. different levels of emphasis.

Comparison of text formatting syntax
HTML output<strong>strongly emphasized</strong><em>emphasized text</em><code>code</code>semantic
<b>bold text</b><i>italic text</i><tt>monospace text</tt>presentational
AsciiDoc*bold text*_italic text_`monospace text`Can double operators to apply formatting where there is no word boundary (for example**b**old t**ex**t yieldsbold text).
'italic text'[b]+monospace text+[b]
BBCode[b]bold text[/b][i]italic text[/i][code]monospace text[/code]Formatting works across line breaks.
Creole**bold text**//italic text//{{{monospace text}}}Triple curly braces are fornowiki which is optionally monospace.
Djot*bold text*_italic text_`monospace text`
DokuWiki**bold text**//italic text//<code>code</code>
''monospace text''
Gemtext```alt text
monospace text
```
Text immediately following the first three backticks is alt-text.
Jira Formatting Notation*bold text*_italic text_{{monospace text}}
Markdown[48]**bold text***italic text*`monospace text`semantic HTML tags
__bold text___italic text_
MediaWiki'''bold text'''''italic text''<code>monospace text</code>mostly resorts to inline HTML
Org-mode*bold text*/italic text/=code=
~verbatim~
PmWiki'''bold text'''''italic text''@@monospace text@@
PODB<bold text>I<italic text>C<monospace text>Indented text is also shown as monospaced code.
reStructuredText**bold text***italic text*``monospace text``
Setext**bold text**~italic text~`monospace text`
Slack*bold text*_italic text_`monospace text````block of monospaced text```
Textile[49]*strong*_emphasis_@monospace text@semantic HTML tags
**bold text**__italic text__presentational HTML tags
Texy!**bold text***italic text*`monospace text`semantic HTML tags by default, optional support for presentational tags
//italic text//
TiddlyWiki''bold text''//italic text//`monospace text`
``monospace text``
txt2tags**bold text**//italic text//``monospace text``
WhatsApp*bold text*_italic text_```monospace text```

Gemtext does not have any inline formatting, monospaced text (called preformatted text in the context of Gemtext) must have the opening and closing``` on their own lines.

Emphasis syntax

[edit]

In HTML, text is emphasized with the<em> and<strong> element types, whereas<i> and<b> traditionally mark up text to be italicized or bold-faced, respectively.

Microsoft Word and Outlook, and accordingly other word processors and mail clients that strive for a similar user experience, support the basic convention of using asterisks for boldface and underscores for italic style. While Word removes the characters, Outlook retains them.

Italic type or normal emphasis
Code
AsciiDoc
ATX
Creole,
DokuWiki
Jira
Markdown
MediaWiki
Org-mode
PmWiki
Setext
Slack
Textile
Texy!
TiddlyWiki
txt2tags
WhatsApp
*italic*NoNoNoNoYesNoNoNoYesNoNoNoYesNoNoNo
**italic**NoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNo
_italic_YesYesNoYesYesNoNoNoNoNoYesYesNoNoNoYes
__italic__YesNoNoNoNoNoNoNoNoNoNoYesNoNoNoNo
'italic'Yes/No[b]NoNoNoNoNoNoNoNoNoNoNoNoNoNoNo
''italic''Yes/No[b]NoNoNoNoYesNoYesNoNoNoNoNoNoNoNo
/italic/NoNoNoNoNoNoYesNoNoNoNoNoNoNoNoNo
//italic//NoNoYesNoNoNoNoNoNoNoNoNoYesYesYesNo
~italic~NoNoNoNoNoNoNoNoNoYesNoNoNoNoNoNo
Bold face or strong emphasis
Code
AsciiDoc
ATX
Creole,
DokuWiki
Jira
Markdown
MediaWiki
Org-mode
PmWiki
Setext
Slack
Textile
Texy!
TiddlyWiki
txt2tags
WhatsApp
*bold*YesYesNoYesNoNoYesNoNoNoYesYesNoNoNoYes
**bold**YesNoYesNoYesNoNoNoYesYesNoYesYesNoYesNo
__bold__NoNoNoNoYesNoNoNoNoNoNoNoNoNoNoNo
''bold''NoNoNoNoNoNoNoNoNoNoNoNoNoYesNoNo
'''bold'''NoNoNoNoNoYesNoYesNoNoNoNoNoNoNoNo

Editorial syntax

[edit]

In HTML, removed or deleted and inserted text is marked up with the<del> and<ins> element types, respectively. However, legacy element types<s> or<strike> and<u> are still also available for stricken and underlined spans of text.

Underlined or inserted text
Language
Code
DokuWikiJiraMarkdownOrg-modeSetextTiddlyWikitxt2tags
_underline_NoNoOptionalYesYesNoNo
__underline__YesNoOptionalNoNoYesYes
+underline+NoYesNoNoNoNoNo

AsciiDoc, ATX, Creole, MediaWiki, PmWiki, reST, Slack, Textile, Texy! and WhatsApp do not support dedicated markup for underlining text. Textile does, however, support insertion via the+inserted+ syntax.

Strike-through or deleted text
Language
Code
JiraMarkdownOrg-modeSlackTextileTiddlyWikitxt2tagsWhatsApp
~stricken~NoNoNoYesNoNoNoYes
~~stricken~~NoGFMNoNoNoYesNoNo
+stricken+NoNoYesNoNoNoNoNo
-stricken-YesNoNoNoYesNoNoNo
--stricken--NoNoNoNoNoNoYesNo

ATX, Creole, MediaWiki, PmWiki, reST, Setext and Texy! do not support dedicated markup for striking through text.

DokuWiki supports HTML-like<del>stricken</del> syntax, even with embedded HTML disabled.

AsciiDoc supports stricken text through a built-intext span[c] prefix:[.line-through]#stricken#.

Programming syntax

[edit]

Quoted computer code is traditionally presented in typewriter-like fonts where each character occupies the same fixed width. HTML offers the semantic<code> and the deprecated, presentational<tt> element types for this task.

Monospaced font, teletype text or code
Code
AsciiDoc
ATX
Creole
Gemtext
Jira
Markdown
Org-mode
PmWiki
Slack
Textile
Texy!
TiddlyWiki
txt2tags
WhatsApp
@code@NoNoNoNoNoNoNoNoNoNoYesNoNoNoNo
@@code@@NoNoNoNoNoNoNoYesNoNoNoNoNoNoNo
`code`YesNoNoNoNoYesNoNoNoYesNoYesYesNoNo
``code``YesNoNoNoNoYesNoNoYesNoNoNoYesYesNo
```code```NoNoNoYesNoYesNoNoNoYes/NoNoNoYesNoYes
=code=NoNoNoNoNoNoYesNoNoNoNoNoNoNoNo
~code~NoNoNoNoNoNoYesNoNoNoNoNoNoNoNo
+code+Yes/No[b]NoNoNoNoNoNoNoNoNoNoNoNoNoNo
++code++Yes/No[b]NoNoNoNoNoNoNoNoNoNoNoNoNoNo
{{code}}NoNoNoNoYesNoNoNoNoNoNoNoNoNoNo
{{{code}}}NoNoYesNoNoNoNoNoNoNoNoNoNoNoNo
|code|NoYesNoNoNoNoNoNoNoNoNoNoNoNoNo
;;code;;

Mediawiki and Gemtext do not provide lightweight markup for inline code spans.

Heading syntax

[edit]

Headings are usually available in up to six levels, but the top one is often reserved to contain the same as the document title, which may be set externally. Some documentation may associate levels with divisional types, e.g. part, chapter, section, article or paragraph. This article uses1 as the top level, but index of heading levels may begin at1 or0 in official documentation.

Most LMLs follow one of two styles for headings, eitherSetext-like underlines oratx-like[50] line markers, or they support both.

Underlined headings

[edit]
Level 1 Heading===============Level 2 Heading---------------Level 3 Heading~~~~~~~~~~~~~~~

The first style uses underlines, i.e. repeated characters (e.g. equals=, hyphen- or tilde~, usually at least two or four times) in the line below the heading text.

Underlined heading levels
Character
Language
=-~*#+^_:"'`.Min. length
AsciiDoc[b]123NoNo54NoNoNoNoNoNo2[d]
Markdown12NoNoNoNoNoNoNoNoNoNoNo1
reStructuredTextHeading structure is determined dynamically from the succession of headingsheading width
Setext12NoNoNoNoNoNoNoNoNoNoNo?
Texy!34No21NoNoNoNoNoNoNoNo3

Headings may optionally be overline inreStructuredText, in addition to being underlined.

Prefixed headings

[edit]
# Level 1 Heading## Level 2 Heading ##### Level 3 Heading ###

The second style is based on repeated markers (e.g. hash#, equals= or asterisk*) at the start of the heading itself, where the number of repetitions indicates the (sometimes inverse) heading level. Most languages also support the reduplication of the markers at the end of the line, but whereas some make them mandatory, others do not even expect their numbers to match.

Line prefix (and suffix) headings
Character
Language
=#*!+SuffixLevelsIndentation
AsciiDocYesNoNoNoNoOptional1–6No
CreoleYesNoNoNoNoOptional1–6No
DokuWikiYesNoNoNoNoYes6-1No
GemtextNoYesNoNoNo?1–3No
MarkdownNoYesNoNoNoOptional1–6No
MediaWikiYesNoNoNoNoYes1–6No
Org-modeNoNoYesNoNoNo1– +∞alternative[51][52][53]
PmWikiNoNoNoYesNoOptional1–6No
Texy!YesYesNoNoNoOptional6–1, dynamicNo
TiddlyWikiNoNoNoYesNoNo1–6No
txt2tagsYesNoNoNoYesYes1–6No

Org-mode supports indentation as a means of indicating the level.

BBCode does not support section headings at all.

POD and Textile choose the HTML convention of numbered heading levels instead.

Other heading formats
LanguageFormat
POD
=head1 Level 1 Heading=head2 Level 2 Heading
Textile,[49]Jira[6]
h1. Level 1 Headingh2. Level 2 Headingh3. Level 3 Headingh4. Level 4 Headingh5. Level 5 Headingh6. Level 6 Heading

Microsoft Word supports auto-formatting paragraphs as headings if they do not contain more than a handful of words, no period at the end and the user hits the enter key twice. For lower levels, the user may press the tabulator key the according number of times before entering the text, i.e. one through eight tabs for heading levels two through nine.

Link syntax

[edit]

Hyperlinks can either be added inline, which may clutter the code because of long URLs, or with namedalias or numberedid references to lines containing nothing but the address and related attributes and often may be located anywhere in the document.Most languages allow the author to specify textText to be displayed instead of the plain addresshttp://example.com and some also provide methods to set a different link titleTitle which may contain more information about the destination.

LMLs that are tailored for special setups, e.g. wikis or code documentation, may automatically generate named anchors (for headings, functions etc.) inside the document, link to related pages (possibly in a different namespace) or provide a textual search for linked keywords.

Most languages employ (double) square or angular brackets to surround links, but hardly any two languages are completely compatible. Many can automatically recognize and parse absolute URLs inside the text without further markup.

Hyperlink syntax
LanguagesBasic syntaxText syntaxTitle syntax
AsciiDochttp://example.com[Text]http://example.com
BBCode, Creole, MediaWiki, PmWiki
Slack<http://example.com|Text>
Textile"Text":http://example.com"Text (Title)":http://example.com
Texy!"Text .(Title)":http://example.com
Jira[http://example.com][Text|http://example.com]
MediaWiki[http://example.com Text]
txt2tags[Text http://example.com]
Creole, MediaWiki, PmWiki, DokuWiki[[Name]][[Name|Text]]
Org-mode[[Name][Text]]
TiddlyWiki[[Text|Name]]
Creole[[Namespace:Name]][[Namespace:Name|Text]]
Org-mode[[Namespace:Name][Text]]
Creole, PmWiki[[http://example.com]][[http://example.com|Text]]
BBCode[url]http://example.com[/url][url=http://example.com]Text[/url]
Markdown<http://example.com>[Text](http://example.com)[Text](http://example.com "Title")
reStructuredText`Text <http://example.com/>`_
Gemtext=> gemini://example.com=> gemini://example.com Text
PODL<http://example.com/>L</Name>
setext^.. _Link_name URL

Gemtext and setext links must be on a line by themselves, they cannot be used inline.

Reference syntax
LanguagesText syntaxTitle syntax
AsciiDoc
… [[id]] …<<id>>
… [[id]] …<<id,Text>>
… anchor:id …xref:id
… anchor:id …xref:id[Text]
Markdown
… [Text][id] …[id]:http://example.com
… [Text][id] …[id]:http://example.com "Title"
… [Text][] …[Text]:http://example.com
… [Text][] …[Text]:http://example.com "Title"
… [Text] …[Text]:http://example.com
… [Text] …[Text]:http://example.com "Title"
reStructuredText
… Name_ ….._Name: http://example.com
setext
… Link_name_ …^.. _Link_name URL
Textile
… "Text":alias …[alias]http://example.com
… "Text":alias …[alias (Title)]http://example.com
Texy!
… "Text":alias …[alias]: http://example.com
… "Text":alias …[alias]: http://example.com .(Title)

Org-mode's normal link syntax does a text search of the file. You can also put in dedicated targets with<<id>>.

Media and external resource syntax

[edit]
[icon]
This sectionneeds expansion with: comparison table featuring how languages handle embedded images, audio, video and other types of media (e.g. social media links). You can help byadding to it.(June 2014)

List syntax

[edit]

HTML requires an explicit element for the list, specifying its type, and one for each list item, but most lightweight markup languages need only different line prefixes for the bullet points or enumerated items. Some languages rely on indentation for nested lists, others use repeated parent list markers.

Unordered, bullet list items
Character
Language
*-+#.·_:indentskipnest
AsciiDocYesYesNoNoNoNoNoNoNoNoNo0[e]?repeator alternate the marker
DokuWikiYesNoNoNoNoNoNoNoNoNoNo2+0+indent
GemtextYesNoNoNoNoNoNoNoNoNoNo01+
JiraYesYesNoNoNoNoNoNoNoNoNo01+repeat
MarkdownYesYesYesNoNoNoNoNoNoNoNo0–31–3indent
MediaWiki,TiddlyWikiYesNoNoNoNoNoNoNoNoNoNo01+repeat
Org-modeYes[54]YesYesNoNoNoNoNoNoNoNo0+indent
TextileYesNoNoNoNoNoNoNoNoNoNo01+repeat
Texy!YesYesYesNoNoNoNoNoNoNoNo2+?indent

Microsoft Word automatically converts paragraphs that start with an asterisk*, hyphen-minus- or greater-than bracket> followed by a space or horizontal tabulator as bullet list items. It will also start an enumerated list for the digit1 and the case-insensitive lettersa (for alphabetic lists) ori (for roman numerals), if they are followed by a period., a closing round parenthesis), a greater-than sign> or a hyphen-minus- and a space or tab; in case of the round parenthesis an optional opening one( before the list marker is also supported.

Languages differ on whether they support optional or mandatory digits in numbered list items, which kinds of enumerators they understand (e.g. decimal digit1, roman numeralsi orI, alphabetic lettersa orA) and whether they support to keep explicit values in the output format. Some Markdown dialects, for instance, will respect a start value other than 1, but ignore any other explicit value.

Ordered, enumerated list items
Character
Language
+#-.#11.1)1]1}(1)[1]{1}a.A.i.I.indentskipnest
AsciiDocNoNoNoYesNoYesNoNoNoNoNoNoYes[f]0[e]?repeator alternate the marker
DokuWikiNoNoYesNoNoNoNoNoNoNoNoNoNoNoNoNo2+0+indent
Jira,MediaWiki,Textile,TiddlyWikiNoYesNoNoNoNoNoNoNoNoNoNoNoNoNoNo01+repeat
MarkdownNoNoNoNoNoYesYesNoNoNoNoNoNoNoNoNo0–31–3indent
Org-modeNoNoNoNoNoYesYesNoNoNoNoNoOptionalNoNo0+indent
Texy!NoNoNoNoNoYesYesNoNoNoNoNoOnly with) delimiterNoOnly with) delimiter2+?indent

Slack assists the user in entering enumerated and bullet lists, but does not actually format them as such, i.e. it just includes a leading digit followed by a period and a space or a bullet character in front of a line.

Labeled, glossary,description/definition list syntax
LanguagesTerm being definedDefinition of the term
AsciiDocTerm::No specific requirements; may be mixed with ordered or unordered lists, with nesting optional
Term::::
Term;;
MediaWiki; Term: Definition
Textile
TiddlyWiki
Texy!
Term:    - Definition
Org-mode- Term :: Definition

Quotation syntax

[edit]
[icon]
This sectionneeds expansion with: differentiation between in-line and block quotes, as well as any handling for attribution. You can help byadding to it.(June 2014)

Table syntax

[edit]
[icon]
This sectionneeds expansion with: Cell, Row, Column, Header, Caption. You can help byadding to it.(June 2014)


Historical formats

[edit]

The following lightweight markup languages, while similar to some of those already mentioned, have not yet been added to the comparison tables in this article:

See also

[edit]

Notes

[edit]
  1. ^JTexy has full compatibility withTexy! 1.0 syntax and some compatibility with 2.0+.
  2. ^abcdefgDeprecated in Asciidoctor 2.0; versions after this represent the current rendition of the language and are aligned to the standard which is still being produced as of April 2025. This syntaxremains available through a compatibility mode.
  3. ^Text spans in AsciiDoc are termedquoted text attributes in legacy implementations.
  4. ^Width of title ± 2 characters
  5. ^abIndenting by a single whitepace in AsciiDoc will preformat the text of that line.
  6. ^The modern language specification only supports a full stop as a delimiter for any ordered list. In the legacy AsciiDoc.py syntax, only a right parenthesis was acceptable for either lower alpha or Roman numerals.

References

[edit]
  1. ^"AsciiDoc ChangeLog". Retrieved2017-02-24.
  2. ^"WikiCreole Versions". Retrieved2017-02-24.
  3. ^ab"djot". Retrieved2023-08-26.
  4. ^"djot 0.1.0".GitHub. Retrieved2023-08-26.
  5. ^"DokuWiki old_changes". Retrieved2024-11-26.
  6. ^abJira."Text Formatting Notation Help". Atlassian. Retrieved2020-12-22.
  7. ^"Markdown".Aaron Swartz: The Weblog. 2004-03-19.
  8. ^"Daring Fireball: Markdown". Archived fromthe original on 2004-04-02. Retrieved2014-04-25.
  9. ^"PHP Markdown Extra". Michel Fortin. Retrieved2013-10-08.
  10. ^"PHP Markdown: History". Michel Fortin. Retrieved2020-12-23.
  11. ^"MediaWiki history". Retrieved2017-02-24.
  12. ^abcPandoc, which is written inHaskell, parses Markdown (in two forms) andReStructuredText, as well as HTML and LaTeX; it writes from any of these formats toHTML,RTF,LaTeX,ConTeXt,OpenDocument,EPUB and several other formats, including (via LaTeX) PDF.
  13. ^"Org mode for Emacs – Your Life in Plain Text".orgmode.org. OrgMode team. Retrieved2016-12-09.
  14. ^"PmWiki Cookbook - Export addons". Retrieved7 January 2018.
  15. ^"An Introduction to reStructuredText". Retrieved2017-02-24.
  16. ^"TidBITS in new format".TidBITS. 1992-01-06. Retrieved2022-07-01.
  17. ^"Slack Help Center > Using Slack > Send messages > Format your messages". Retrieved2018-08-07.
  18. ^"Slack API documentation: Basic message formatting". Retrieved2018-08-07.
  19. ^"Textism › Tools › Textile".textism.com. Archived fromthe original on 26 December 2002.
  20. ^"What is Texy". Retrieved2017-02-24.
  21. ^"History of TiddlyWiki".tiddlywiki.com.
  22. ^"Html2wiki txt2tags module". cpan.org. Retrieved2014-01-30.
  23. ^"Txt2tags User Guide". Txt2tags.org. Retrieved2017-02-24.
  24. ^"txt2tags changelog". Retrieved2017-02-24.
  25. ^"WhatsApp FAQ: Formatting your messages". Retrieved2017-11-21.
  26. ^"Txt2tags User Guide". Txt2tags.org. Retrieved2017-02-24.
  27. ^"DokuWiki Tips htmltowiki". Retrieved2024-11-26.
  28. ^ab"DokuWiki FAQ html". Retrieved2024-11-26.
  29. ^"Converters". WikiCreole. Retrieved2013-10-08.
  30. ^pegdown: A Java library for Markdown processing
  31. ^abgfms: Github Flavored Markdown Server
  32. ^abmarked: A full-featured markdown parser and compiler, written in JavaScript. Built for speed.
  33. ^abnode-gfm: GitHub flavored markdown to HTML converter
  34. ^Parsedown: Markdown parser written in PHP
  35. ^abCiconia: Markdown parser written in PHP
  36. ^abGrip: GitHub Readme Instant Preview
  37. ^github-markdown: Self-contained Markdown parser for GitHub
  38. ^peg-markdown is an implementation ofmarkdown inC.
  39. ^Discount is also an implementation ofmarkdown inC.
  40. ^"Python-Markdown". Github.com. Retrieved2013-10-08.
  41. ^Bruce Williams."kramdown: Project Info". RubyForge. Archived fromthe original on 2013-08-07. Retrieved2013-10-08.
  42. ^ab"Via ox-pandoc and pandoc itself".GitHub.
  43. ^Atlassian."Confluence 4.0 Editor - What's Changed for Wiki Markup Users (Confluence Wiki Markup is dead)". Retrieved2018-03-28.
  44. ^Docutils is an implementation ofReStructuredText inPython
  45. ^Sphinx is an implementation ofReStructuredText inPython andDocutils with a number of output formatBuilders
  46. ^Aurelio Jargas www.aurelio.net (2012-01-11)."txt2tags". txt2tags. Retrieved2013-10-08.
  47. ^"txt2tags.class.php - online convertor [sic]". Txt2tags.org. Retrieved2013-10-08.
  48. ^"Markdown Syntax". Daringfireball.net. Retrieved2013-10-08.
  49. ^abTextile SyntaxArchived 2010-08-12 at theWayback Machine
  50. ^"atx, the true structured text format" by Aaron Swartz (2002)
  51. ^"The Org Manual: section "A Cleaner Outline View"". Retrieved14 June 2020.
  52. ^"using org-adapt-indentation".
  53. ^"using org-indent-mode or org-indent".
  54. ^Footnote in official manual "When using ‘*’ as a bullet, lines must be indented so that they are not interpreted as headlines. Also, when you are hiding leading stars to get a clean outline view, plain list items starting with a star may be hard to distinguish from true headlines. In short: even though ‘*’ is supported, it may be better to not use it for plain list items."
  55. ^"EtText: Documentation: Using EtText".ettext.taint.org. Retrieved2022-06-30. originally from theWebMake[1] project.
  56. ^"Un naufragio personal: The Grutatxt markup".triptico.com. Retrieved2022-06-30. Public domain format (since version 2.20); originally used in theGrutaCMS system.

External links

[edit]
Markup language varieties
Retrieved from "https://en.wikipedia.org/w/index.php?title=Lightweight_markup_language&oldid=1298793466"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp