The goal is to have a plain text format that is readable as is but can be easily parsed, rendered, and styled for other output formats. The most common output format will be XHTML. Here are some examples with the resulting XHTML.
This is a paragraph with a couple of lines in it
<p> This is a paragraph with a couple of lines in it </p>
[This]`http://fandev.org` is a hyperlink to fandev.org.
<a href="http://fandev.org">This</a> is a hyperlink to fandev.org.
Here's some sample code:
list := ["one", "two", "three"]
list.each |Str s|
{
echo(s.upper)
}
<p>
Here's some sample code:
</p>
<pre><code>
list := ["one", "two", "three"]
list.each |Str s|
{
echo(s.upper)
}
</code></pre>
john Tue 22 Aug 2006
Fantext is a plain text markup syntax based on the same concepts as Markdown but with some additional fan-specific benefits. Here's the basic grammar:
The goal is to have a plain text format that is readable as is but can be easily parsed, rendered, and styled for other output formats. The most common output format will be XHTML. Here are some examples with the resulting XHTML.
This is a paragraph with a couple of lines in it
<p> This is a paragraph with a couple of lines in it </p>
<a href="http://fandev.org">This</a> is a hyperlink to fandev.org.