fmt_italic: Format a String with Italics for HTML or Latex Output

View source: R/format-text.R

fmt_italicR Documentation

Format a String with Italics for HTML or Latex Output

Description

Format a String with Italics for HTML or Latex Output

Usage

fmt_italic(string, indicator = "*", html = TRUE)

Arguments

string

The character vector to add italics to.

indicator

The indicator for which words should be italicized

html

Logical for whether the output should be HTML. If FALSE, Latex output is provided.

Value

A character vector

Examples

fmt_italic("Make *this* italic.", html = TRUE)
fmt_italic("Make *this* italic.", html = FALSE)

ratlas documentation built on April 4, 2025, 12:22 a.m.