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

Icons and caption not working #2

Closed
EggJacktly opened this issue Dec 28, 2023 · 1 comment
Closed

Icons and caption not working #2

EggJacktly opened this issue Dec 28, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EggJacktly
Copy link

There is an issue with Icons and Captions of all the social embeds.
The video file is working properly, collapse=true, icon=false and colors of callouts are working as intended.

Quarto Version: 1.3.450

I'm using the following code block in document yml :

---
title: "Title"
format: html
filters:
  - collapse-social-embeds
execute:
  echo: false
jupyter: python3
---

And the following code in markdown qmd:

::: {.youtube video_id=hTqw_CGCmNs caption="Youtube Video" }
:::

::: {.mastodon url="https://fosstodon.org/@pandoc/109712438144865859" }
:::

::: {.gist user=tarleb gist_id=852f6ae98764bea56aeeac979f3c17be icon=true collapse=true icon=false caption="A Caption" }
:::

This results in the following:

extension_bug
@shafayetShafee shafayetShafee added the bug Something isn't working label Jan 9, 2024
@shafayetShafee shafayetShafee self-assigned this Jan 9, 2024
@shafayetShafee shafayetShafee reopened this Jan 9, 2024
@shafayetShafee
Copy link
Owner

This problem happened because caption is renamed to title in the callout constructor. However, this issue has been resolved now. So install the filter again and use title instead of caption. Everything should work as intended now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants