HTML Output from Markdown Examples

This vignette shows how the output looks like in HTML from the other vignette markdown-examples.Rmd, in which the literal HTML code was shown.

#| markdown-output, results='asis',
#| file=litedown:::pkg_file('examples', 'render-options.R')
#| smartypants, results='asis', eval=isTRUE(l10n_info()[['UTF-8']])

# smartypants example
cat(mark("1/2 (c)"))
cat(mark("1/2 (c)", options = "+smartypants"))

mkd <- paste(names(litedown:::pants), collapse = ' ')
cat(mark(mkd, options = "+smartypants"))


Try the litedown package in your browser

Any scripts or data that you put into this service are public.

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