powered by
Format subscript text
format_sub(subscript = NULL, type = "md")
A character string that is formatted as subscript for either Markdown or LaTeX.
Character string or NULL.
Type of formatting ("md" = markdown, "latex" = LaTeX).
"md"
"latex"
format_sub("Hello world!") # Format in LaTeX syntax format_sub("Hello world!", type = "latex")
Run the code above in your browser using DataLab