Try Install Learn Blog API Packages GitHub

Format Directive

The @format directive returns the formatted string version of the code it's given and the result of the code in a tuple Tuple(a, String) . This is created to make it easy to display a simple example of Mint code:

let {result, code} =
  @format {
      "Hello There!"

  <{ result }>

      <{ code }>