reprex and html tables not formatting in stackoverflow

44 Views Asked by At

The output from the reprex package involving html tables don't format correctly when pasting into stackoverflow. Is there an extra step I have to take?

Here's an example. This command sends the character data to the clipboard.

reprex::reprex({
  gt::gt(head(iris))
})

When I paste it to stackoverflow, I see this preview (a mess of raw html instead of a formatted table).

reprex output

0

There are 0 best solutions below