heredoc

Package Version Hex Docs

gleam add heredoc@1
import heredoc

pub fn main() -> Nil {
  heredoc.heredoc("
    This string will be unindented.

    It will not have any leading spaces.
      Except for this line, which is extra indented.
  ")
}

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

Development

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