DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

๐ŸŒš Life is too short to browse without dark mode