Glyph - Textile or Markdown

← Source Code | Contents | XML Fallback →

Textile or Markdown are very easy and intuitive to use, and they can produce HTML markup with almost no effort. Using them with Glyph is as simple as using the textile macro (aliased to txt) and the markdown macro (aliased to md).

Example

The following Glyph code:

1textile[
2This is a paragraph with some _emphasized_ text.
3
4This is another paragraph with some -deleted- text.
5* This is
6* a bulletted
7* list
8]

produces the following HTML code:

1<p>This is a paragraph with some <em>emphasized</em> text.</p>
2<p>This is a paragraph with some <del>deleted</del> text.</p>
3<ul>
4  <li>This is</li>
5  <li>a bulletted</li>
6  <li>list</li>
7</ul>
ImportantBe careful when using block-level HTML with Textile and Markdown: sometimes it may be necessary to add extra empty lines or escape tags.
← Source Code | Contents | XML Fallback →