EsoFmt

From Esolang
Jump to navigation Jump to search

EsoFmt is an esoteric markup language invented by User:None1 because he thinks that HTML is too verbose.

Tags

Explicit newlines should be inserted between lines.

b...B - Bold
i...I - Italic
u...U - Underline
s...S - Strikethrough
c"#XXXXXX"...C - Color
cr...C - Red
cg...C - Green
cb...C - Blue
a"<link>"...A - Link
y"<script URL>...Y" - Script (doesn't support inline script)
h<1~6>...H - Heading (h1 to h6)
\ - Escape

It is very simple, isn't it?

Examples

bHello, World!B

Should look like: Hello, World!

crREDCcgGREENCcbBLUEC

Should look like: REDGREENBLUE

a"https://esolangs.org"E\sol\angA

Should look like: Esolang

fffff
biugggggUIB

Should look like:

fffff
ggggg

Interpreter

Currently an interpreter is WIP.