ropensci-org / blog-guidance

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

need details on using pull-left vs imgtxt shortcode for text wrap #156

Closed stefaniebutland closed 3 years ago

stefaniebutland commented 3 years ago

This issue might relate specifically when you're writing a bio for a person and you want the bio text to wrap with their photo and nicely align with top of photo.

Guide currently describes use of class = "pull-left" to left-align an image and have text wrap. When I used this in a draft post with people-bios, however, if the wrapped text took less vertical space than the image, then a subsequent image also wrapped. Also with class = "pull-left"

Solution is to use the imgtxt shortcode which requires both opening and closing tags around the image and text. This will be implemented in the Oct 27 "Announcing new editors" post