Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] icons rendering in 'italics' #5

Open
jtkulas opened this issue Jan 6, 2025 · 1 comment
Open

[BUG] icons rendering in 'italics' #5

jtkulas opened this issue Jan 6, 2025 · 1 comment

Comments

@jtkulas
Copy link

jtkulas commented Jan 6, 2025

Just started playing around with this neat extension - thanks!

The icons seem to be rendering as italicized.

The YAML specification (slightly modified from your read.me):


custom-callout:
todo:
icon-symbol: "📝"
color: "pink"
thumbs-up:
title: "Great job!"
icon-symbol: "😃"
color: "#008000"

.qmd callout block:

::: {.thumbs-up title="That was a hard task!"}
You did a great job completing this task.
:::

renders the following HTML (I've just isolated the italics tags around the callout because it appears that those are the issue):

@coatless
Copy link
Contributor

coatless commented Jan 9, 2025

Thanks; I think this is because of the default way Quarto icons are specified with a tilt.

When I'm back; I'll clean up the CSS abit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants