Closed maelle closed 3 years ago
That said we could also completely remove the attributes, as you observed. :thinking:
I'm not sure this works perfectly in all cases. For me at least, when I tried this with tweets (last week when I was trying to figure things out), the tweet was encased in a large frame. I think this is because it still goes in a code block, rather than just passing straight html.
Ah right, it no longer works. So the current workaround is not to use anything around the shortcode, correct?
I'm wondering whether we should change the recommended output format to hugodown::markdown_document
.
Should we close this?
I think yes
Related: #217
I am not sure yet why the approach with comments didn't work. I think the Pandoc raw attributes should be safer (that's e.g. the approach used inside
hugodown::embed_tweet()
).