smartypants: Convert some ASCII strings to HTML entities

View source: R/utils.R

smartypantsR Documentation

Convert some ASCII strings to HTML entities

Description

Transform ASCII strings (c) (copyright), (r) (registered trademark), (tm) (trademark), and fractions n/m into smart typographic HTML entities.

Usage

smartypants(text)

Arguments

text

A character vector of the Markdown text.

Value

A character vector of the transformed text.


litedown documentation built on Oct. 17, 2024, 1:06 a.m.