jot_to_lustre

Package Version Hex Docs

gleam add jot_to_lustre
import gleam/io
import lustre/element/html
import jot_to_lustre

pub fn main() {
    let jot_body = "
# A heading that
# takes up
# three lines

{.important .large}
A paragraph, finally

[My link text](http://example.com)
    "

    io.debug(
        html.body([], jot_to_lustre.to_lustre(jot_body)
    )
}

Further documentation can be found at https://hexdocs.pm/jot_to_lustre.

Development

gleam run   # Run the project
gleam test  # Run the tests
Search Document