DEV Community

Steve
Steve

Posted on • Updated on

bml - a cute, compact markup language.

BML is a sweet markup language that compiles to minified HTML.

Example

Input in BML:

Updated 10/24/21 in accordance with commit #c698b56
`body` {
    `div align="center"` {
        `h1` {
            `Hello, World!`
        //}
        `br` { \\}
        `h2` {
            `It's BML time!`
        //}
    //}
//}
Enter fullscreen mode Exit fullscreen mode

HTML output from BMLCC

<body><div align="center"><h1>Hello, World!</h1><br><h2>It's BML time!</h2></div></body>
Enter fullscreen mode Exit fullscreen mode

See? That's pretty cool syntax.

Where do I get it?

GitHub

How do I use it?

Table of Contents - Tutorials

Top comments (0)