ropensci-org / blog-guidance

rOpenSci Blog Guidelines for Authors and Editors (bookdown::git_book)
https://blogguide.ropensci.org/
9 stars 4 forks source link

Update authortechnical.Rmd #178

Closed maelle closed 2 years ago

maelle commented 3 years ago

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()).

maelle commented 3 years ago

That said we could also completely remove the attributes, as you observed. :thinking:

steffilazerte commented 3 years ago

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.

maelle commented 3 years ago

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.

maelle commented 2 years ago

Should we close this?

steffilazerte commented 2 years ago

I think yes