![]() Triple curly braces are for nowiki which is optionally monospace. different levels of emphasis.Ĭan double operators to apply formatting where there is no word boundary (for example **b**old t**ex**t yields bold t ext). 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. LMLs sometimes differ for multi-word markup where some require the markup characters to replace the inter-word spaces ( infix). Textile, or allow the user to configure the output easily, e.g. Monospaced text may either result in semantic code or presentational tt elements. Roff, man, MagicPoint, Lout, PageMaker, ASCII Art, TXTĬomparison of lightweight markup language syntax Inline span syntax Īlthough usually documented as yielding italic and bold text, most lightweight markup processors output semantic HTML elements em and strong instead. PHP, JavaScript, Java, Perl, Python, Ruby, ASP, C#, HaskellĬreole, AsciiDoc, MediaWiki, MoinMoin, PmWiki, DokuWiki, Google Code Wiki TXT, XOXO, iCalendar, Texinfo, man, contrib: groff, s5, deck.js, Confluence Wiki Markup, TaskJuggler, RSS, FreeMind Perl (originally), C, Python, JavaScript, Haskell, Ruby, C#, Java, PHPĮmacs Lisp, Ruby (parser only), Perl, OCaml Lua (originally), JavaScript, Prolog, Rust Comparison of implementation features Comparing implementations, especially output formats 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. (Some extensions may support these features.) 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. Presentation oriented languages include AsciiDoc, 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 and Wikitext.ĭata serialization oriented languages include Curl ( homoiconic, but also reads JSON every object serializes), JSON, and YAML.Ĭomparison of language features Comparing language features This includes whether they are oriented on textual presentation or on data serialization. POD, reST, RD) or being converted to a certain output format (usually HTML or LaTeX) and nothing else, others are more general in application. Some markup languages are tailored for a specific purpose, such as documenting computer code (e.g. Most languages distinguish between markup for lines or blocks and for shorter spans of texts, but some only support inline markup. Markdown), possibly extended with custom elements (e.g. BBCode bold), whereas proper lightweight markup languages are restricted to ASCII-only punctuation marks and other non-letter symbols for tags, but some also mix both styles (e.g. Like HTML ( bold), some languages use named elements that share a common format for start and end tags (e.g. Lightweight markup languages can be categorized by their tag types. However, no SGML document type definition (DTD) for any of the languages listed below is known. The 1998 W3C XML is a profile of SGML that omits these facilities. In 1986 international standard SGML provided facilities to define and parse lightweight markup languages using grammars and tag implication. Console browsers may also resort to similar display conventions. This formatting choice was naturally carried forth to plain-text email communications. 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. The server software then converts the input into a common document markup language like HTML. Another application for such languages is to provide for data entry in web-based publishing, such as blogs and wikis, where the input interface is a simple text box. Lightweight markup languages are used in applications where it may be necessary to read the raw document as well as the final rendered output.įor instance, a person downloading a software library might prefer to read the documentation in a text editor rather than a web browser. ![]() It is designed to be easy to write using any generic text editor and easy to read in its raw form. Markup language with simple, unobtrusive syntaxĪ lightweight markup language ( LML), also termed a simple or humane markup language, is a markup language with simple, unobtrusive syntax.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |