Figlet.text

You're seeing just the function text, go back to Figlet module for more information.

Render the input text into representations using the given font (see opts).

Options

  • font: string path to font file, e.g. ours/banner.flf. Relative paths are interpretted as relative to this package's fonts/ directory.
  • horizontal_layout: default: default
  • vertical_layout: default: default
  • width: integer character screen width, default: 80,
  • whitespace_break: default: true

Examples

iex> Figlet.text("Jump Street", font: "ours/ivrit.flf")
      _                                 ____    _                          _
     | |  _   _   _ __ ___    _ __     / ___|  | |_   _ __    ___    ___  | |_
  _  | | | | | | | '_ ` _   | '_     ___   | __| | '__|  / _   / _  | __|
 | |_| | | |_| | | | | | | | | |_) |    ___) | | |_  | |    |  __/ |  __/ | |_
  ___/   __,_| |_| |_| |_| | .__/    |____/   __| |_|     ___|  ___|  __|
                             |_|