Skip to content

Latest commit

 

History

History
77 lines (66 loc) · 1006 Bytes

README.md

File metadata and controls

77 lines (66 loc) · 1006 Bytes

std.html

The standard library of the brack-language for targeting to naive HTML.

Installation

brack add github:brack-lang/[email protected] # develop
brack add github:brack-lang/[email protected] # main (under construction)

Syntax

Heading

{std.* Hello!}
{std.** Hello\, World!}
<h1>Hello!</h1>
<h2>Hello, World!</h2>

Bold

[std.* Hello!]
<span>Hello!</span>

Italic

[std./ Hello!]
<span style="">Hello!</span>

List

[std.list
    Hokkaido,
    [std.list
        Aomori,
        Akita,
        Iwate,
        Yamagata,
        Miyagi,
        Fukushima
    ],
    Ibaraki
]
<ul>
    <li>Hokkaido</li>
    <ul>
        <li>Aomori</li>
        <li>Akita</li>
        <li>Iwate</li>
        <li>Yamagata</li>
        <li>Miyagi</li>
        <li>Fukushima</li>
    </ul>
    <li>Ibaraki</li>
</ul>

Quote

[std.> Hello!]

LICENSE

MIT OR Apache-2.0