Function italic

  • Make the text italic.

    Parameters

    • str: string

      The text to make italic

    Returns string

    The italic text

    import { italic } from "@std/fmt/colors";

    console.log(italic("Hello, world!"));