Convert some ASCII strings to HTML entities
Transform ASCII strings (c)
(copyright), (r)
(registered trademark), (tm)
(trademark), and fractions n/m
into smart typographic HTML entities.
smartypants(text)
text
: A character vector of the Markdown text.A character vector of the transformed text.
cat(smartypants("1/2 (c)\n"))