A lightweight markup language is a markup language with a simple syntax, designed to be easy for a human to enter with a simple text editor, and easy to read in its raw form.
Lightweight markup languages are used in applications where people might be expected to read the document source as well as the 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.
Lightweight markup languages were originally used on text-only displays which could not display characters in italics or bold, so informal methods to convey this information had to be developed. This formatting choice was naturally carried forth to plain-text email communications.
1986 international standard SGML provided facilities to define and parse lightweight markup languages using grammars and tag implication. The 1998 W3C XML is a profile of SGML that omits these facilities.
Types
Presentation oriented languages include AsciiDoc, BBCode, Creole, Crossmark, deplate, Epytext, EtText, Haml, JsonML, MakeDoc, Markdown, Org-mode, POD, reStructuredText, Ruby Document format, Setext, SiSU, SPIP, Xupl, Texy!, Textile, txt2tags, UDO and Wikitext.
Data serialization oriented languages include Curl (programming language) (homoiconic, but also reads JSON; every object serializes), JSON, OGDL, Simple Declarative Language and YAML.
Triple curly braces are for nowiki which is optionally monospace in Creole (the choice of the implementor). Future Creole additions may introduce double hash marks (##) for monospace.
deplate
{text style=bold: bold text}
__emphasized text__
''monospace text''
deplate discourages visual formatting. Users who want to format text in a particular style have to define style classes in the given output format (CSS, LaTeX). By default, emphasized text is formatted in italics.
Optionally you can "close" the #-style headers with any number of #'s. The closing hashes don’t need to match the number of hashes used to open the header. The #-style headers support up to 6 levels. The = and - style headers support only the two shown.
Any of the following characters can be used as the "underline": = - ` : ' " ~ ^ _ * + # < >. The same character must be used for the same indentation level and may not be used for a new indentation level.
You can optionally "close" the #-style headers with an equal number of #'s. The #-style headers support up to 6 levels. The underlined style headers support four levels (### *** === ----). Resulting absolute levels numbers are calculated dynamically. Optionally, less chars can denote higher header level.
txt2tags
= Level 1 Header =
== Level 2 Header == === Level 3 Header ===
Up to 6 levels. Using + characters instead of = characters creates numbered headers (the default being unnumbered).
Link syntax
Comparing link syntax
Language
Syntax
Notes
AsciiDoc
http://www.example.com
http://www.example.com[Link text]
BBCode
[url]http://www.example.com[/url]
[url=http://www.example.com]Link text[/url]
Some BBCode implementations can auto-parse URLs as well and convert them to a elements.
[Link text](http://www.example.com "optional title attribute") or [Link text][id] and elsewhere [id]: http://www.example.com "optional title attribute"
[[My Target][Find my target]] - text search in current file [[#my-custom-id]] - link to custom id [[http://orgmode.org]] - external link [[http://orgmode.org][Org Mode]] - external link with description[[file:/path/to/some/file]] or [[/path/to/some/file]] or [[./some/file]] - file system links
Link abbreviations[16] can optionally be set so that, for example:
[[google:anything]] can be a web link to http://www.google.com/search?q=anything
[[wiki:Topic][topic]] can be a file link to /long/path/to/personal/wiki/Topic.org
"Link text (optional title attribute)":http://www.example.com
or "Link text":alias and elsewhere [alias (optional title attribute)]http://www.example.com
Allows for an optional title attribute.
Texy!
"Link text .(optional title)[opt. class or ID]{opt. style}":http://www.example.com
or "Link text":alias and elsewhere [alias]: http://www.example.com .(optional title)[opt. class or ID]{opt. style}
Texy! modifiers allows for an optional title attribute, class, ID, and other HTML element attributes. Example: "Link .(title)[class#id]{color: blue;rel:nofollow}"
txt2tags
[Link text www.example.com]
txt2tags can auto-parse URLs as well and convert them to a elements. Also has support for targeting references within the same text, not just URLs.
Tags: Lightweight markup language, Ilmu Komputer, 464, Lightweight markup language A lightweight markup language is a markup language with a simple syntax designed to be easy for a human to enter with a simple text editor and easy to read in its raw form, Lightweight markup languages are used in applications where people might be expected to read the document source as well as the rendered output, For instance a person downloading a software library, Lightweight markup language, Bahasa Indonesia, Contoh Instruksi, Tutorial, Referensi, Buku, Petunjuk pasar, pts-ptn.net