Lizard is a markup language and a tool for parsing Lizard markup into html.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jameschip 844b203aa6 Update 'README.md' 2 weeks ago
.gitignore Initial commit 2 weeks ago
LICENSE Initial commit 2 weeks ago
README.md Update 'README.md' 2 weeks ago
lizard.c Upload files to '' 2 weeks ago
parser.c Upload files to '' 2 weeks ago
parser.h Upload files to '' 2 weeks ago
testfile.liz Upload files to '' 2 weeks ago

README.md

THE LIZARD

The lizard is a small markup language created to avoid the verbosity of writing HTML while having a more consistent syntax than markdown. All tags used in The Lizard use the same format, the following tag will put the text "the tag data" in bold.

{{ bo the tag data }}

This repo contains the small spec for The Lizard markup language and also a small tool for parsing text files written using The Lizard and converting them to HTML.

THE SYNTAX.

Tags can NOT be nested. This is by design to promote consistent style use. The only syntax that does not use the tag format is the single newline that can be used to inset a line break into a paragraph and the double line break that can be used to start a new paragraph.

PARAGRAPHS

This is a paragraph with some text. Two newlines will start a new paragraph.

This is another paragraph. They are separated by a blank line.
Just putting a single newline will insert a line break.

TEXT STYLE

{{ bo bold text }}
{{ it italic text }}

{{ li https://jameschip.io link text }}

IMAGES

{{ im image/location.png }}

BULLET POINTS

Text before bullet points....
{{ bp The first bullet point }}
{{ bp The second bullet point }}
{{ bp The Third bullet point }}
Text after bullet points...

BLOCK QUOTES

{{ bq this is a quote }}

CODE BLOCKS

{{ cb
This is
some
preformatted
text
}}

SKIPPING TAGS

/{{ bo this tag will be skipped and displayed as text }}

LIZ

Liz is a small tool for converting text in The Lizard format into HTML. It is recommended, but not mandatory, to give files using The Lizard syntax the extension '.liz'.

COMPILE

gcc lizard.c parser.c -o liz

USE

liz file_to_parse.liz