Given the gt::md and gt::html, could I suggest an additional input-output converter gt::latex? In version 0.1.0, plain latex codes are escaped, e.g., inputting \\ becoming \textbackslash in the output. In some cases, though, it would be useful to call for the LaTex functions. For example, right now if the content is in double-space, so do the notes from the tab_source_note. It will be wonderful to have a gt::latex function allowing users to create a local single-space environment to make those notes more like notes rather than paragraphs after the table by something liketab_source_note(latex("\\parbox{\\linewidth}{\\vspace{2pt} The single-space notes.}")).
This suggestion may relate to other suggestions to improve LaTex outputs, such as in #111, #119, and #176.
This is a great idea, thanks for submitting the issue. There will be some efforts toward having LaTeX functionality be more consistent with HTML and this will be part of that.
Most helpful comment
This is a great idea, thanks for submitting the issue. There will be some efforts toward having LaTeX functionality be more consistent with HTML and this will be part of that.