quarto-ext / fontawesome

Use Font Awesome icons in HTML and PDF documents.
MIT License
105 stars 10 forks source link

Icon doesn't show up in blog post preview #7

Closed mine-cetinkaya-rundel closed 1 year ago

mine-cetinkaya-rundel commented 2 years ago

I have a font awesome icon in the first sentence of this post. But it doesn't show up in the post preview.

Screen Shot 2022-07-16 at 7 37 41 AM
mcanouil commented 2 years ago

When a FA shortcode is explicitly called on the main/index page, the FA icon appears. (I noticed this when trying to check #6: https://github.com/quarto-ext/fontawesome/issues/6#issuecomment-1186449728)

Without explicit shortcode in _quarto.yml With explicit shortcode in _quarto.yml
image Screenshot 2022-07-17 at 10 49 45

Meaning, FA is not fully accessible to the whole website when Quarto is rendering it for some reason.

cscheid commented 1 year ago

(Sorry for the delay) Is the issue here that the shortcode gets "transplanted" to the main page through a listing? If so, that's actually an interesting bug that we need to think about.

mine-cetinkaya-rundel commented 1 year ago

Yup, the icon/shortcode is in the blog post (listing), but the icon is not visible in the homepage that shows the blog post/listing preview.

cscheid commented 1 year ago

@mine-cetinkaya-rundel I'm tracking this as a bug on the quarto-cli repository now, so I'm going to close it here. Thanks for the report, this is a substantial bug!