This document is a rough spec on what the provided uv2html tool does to convert unmarked vehical text to HTML
Consecutive lines of text are considered part of a single paragraph. If you want to start a new paragraph you'll need to have a stand-alone line
this is the first paragraph
this is part of the first paragraph
now this is the second paragraph
and so is this
this is the first paragraph this is part of the first paragraph
now this is the second paragraph and so is this
There are 3 levels of heading available. Surround your heading with 3 or more pepetitions of "=-" (6 characters or more in total) followed by a new line for level 1 heading
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heading 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Surround your heading with 6 or more "=" characters followed by a new line for level 2 heading
========================================================================
Heading 2
========================================================================
Surround your heading with 6 or more "-" characters followed by a new line for level 3 heading
------------------------------------------------------------------------
Heading 3
-----------------------------------------------------------------------
You may do your own pre-formatted ASCII art by surrounding your ASCII art with 2 or more consecutive "." characters both followed by a new line
........................................................................
I A M A P R E F O R
........................................................................
I A M A P R E F O R
You may put "> " which is a ">" character followed by a " " (whitespace) in front of a line to denote that it's a block quote. You may nest them.
> > did you hear that?
> I did
did you hear that?
I did
You may indent a line with four or 8 spaces or a tab to denote that it's a sample text/code block
for (i = 0; i < 10; i ++) {
printf("hello world");
}
for (i = 0; i < 10; i ++) {
printf("hello world");
}
You may use " * " which is a whitespace followed by the "*" character followed by another whitespace to denote a bulleted item. You may use " 1. " which is a whitespace followed by a number followed by a "." character followed by another whitespace to denote a numbered item.
* bullet 1
* bullet 2
1. number 1
2. number 2
* bullets can
span multiple lines
so long as they align
__emphasized__
emphasized
*bold*
bold
H_(2)O
H2O
X^(2)
X2
http://unmarked.sourceforge.net
mailto:someguy@somedomain.com
http://unmarked.sourceforge.net someguy@somedomain.com
http://images.sourceforge.net/images/head_bg_new2.gif?width=200&height=52#some+text
[this is a link][1]
-----
[1] http://unmarked.sourceforge.net - this is some text
- - - - - - - - -
all escapes are done using whitespaces
__escaped emphasis__
*escaped bold*