Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/fmt/colors.ts>italic

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function italic
import { italic } from "https://deno.land/std@0.215.0/fmt/colors.ts";

Make the text italic.

Parameters

str: string

text to make italic

Returns

string