Lee Daniel Crocker <lee(a)piclab.com> wrote:
I decided to release my new syntax for comment before
I
finished the formal definition. I'd like to get opinions
about it; in particular:
This is extremely interesting, especially because I've been working on
a markup language called Kolophon that looks surprisingly similar,
especially in the common text formatting sequences.
One of the differences in it is that \\ is a null sequence, which you
can stick inside sequences that would otherwise be considered tokens:
**bold** would show up bold, but *\\*not*\\* wouldn't. (Because all
tokens in it involve at least two characters--a newline and a star for
bullets, for example--the addition of a null sequence allows for a
universal escaping mechanism.) You seem to be using \\ for something
else, but the concept might still apply.
Kolophon in summary:
Formatting:
**bold**
//italic//
__cite__
==strike==
``code``
""unformatted""
Hyperlink: [[
http://www.google.com||Link]]
Transclude: {{Image:Foo.gif||caption}}
Bi-relate: <<Category:films>>
\\ null sequence (used to break up tokens)
$$ident variable
|| attribute separator
Line styles (at the beginning of a line):
blockquote
* bullet
# number
; term
: definition
` code
? attributes for following paragraph
! table header
| table cell
- table row
Headings:
= 1
== 2
=== 3
==== 4
Special characters:
&+ &
&-- —
&- –
&| \
&^ <br />
&`` &lquot;
&'' &rquot;
&` ‘
&' ’
&<< «
&>> »
&<- ←
&-> →
--
Brent 'Dax' Royal-Gordon <brent(a)brentdax.com>
Perl and Parrot hacker