Using the tex macro or code snippet described here: https://maraaverick.rbind.io/2017/09/custom-snippets-in-rstudio-faster-tweet-chunks-for-all/.
To put a tweet in my post:
Great time presenting on Sherman's March at the UC Davis economic history seminar yesterday https://t.co/BhuO4KyiuF
— James Feigenbaum (@jamesfeigenbaum) October 4, 2017
Did this work? Yes it did!
But, I sometimes I write posts in Rmarkdown in Atom, not Rstudio. So it would be nice to add a code snippet or text macro there (here) instead.