I think one thing to make "just work" is recognizing <br> as a line break in all output contexts; this'll avoid any need to call fmt_markdown(). This could probably be done in the process_text() function.
We incidentally also need a similar bit of 'extra' markup to represent cross-output tab stops but that's for another issue.
Originally posted by @rich-iannone in #1765 (comment)
As of gt 0.11
- \n works for grid format (
just shows as
)
works for md/html
- No linebreak seems to work for docx (
shows as
and \n acts like a space)
- Haven't looked for latex yet
For rtf
the text_grob argument of as_gtable() can be used.
#1776 (comment)
I think one thing to make "just work" is recognizing
<br>as a line break in all output contexts; this'll avoid any need to callfmt_markdown(). This could probably be done in theprocess_text()function.We incidentally also need a similar bit of 'extra' markup to represent cross-output tab stops but that's for another issue.
Originally posted by @rich-iannone in #1765 (comment)
As of gt 0.11
just shows as
)
works for md/html
shows as
and \n acts like a space)
For rtf
the
text_grobargument ofas_gtable()can be used.#1776 (comment)