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

Quarto callouts #269

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Quarto callouts #269

merged 2 commits into from
Sep 26, 2024

Conversation

peterdesmet
Copy link
Member

I've been looking for a way to style/highlight notes in the vignettes. This is possible with quarto callouts:

::: {.callout-info}
You can use callouts
:::
  • In a vignette, this will look as before (regular text)
  • In pkgdown, this will look as before, since callouts are not supported yet, but it seems that will be the case at some point in the future. I don't think we'll have to convert our .Rmd to .qmd, since a Quarto feature like [Small caps]{.smallcaps} already works.

We could already make it work by using:

::: {.alert .alert-info}
You can use alerts
:::

Which renders like:

Screenshot 2024-09-25 at 14 31 13

But I think it's better to not use this temporary solution, but use callouts. It doesn't affect the readability now + will look better once pkgdown is updated.


This PR also updates a step in frictionless.Rmd where a resource is replaced.

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (fdd9944) to head (523d47d).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #269   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          643       643           
=========================================
  Hits           643       643           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@sannegovaert sannegovaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very prepared for the future! :-)

@peterdesmet peterdesmet merged commit 8614cf5 into main Sep 26, 2024
9 checks passed
@peterdesmet peterdesmet deleted the bootstrap-styling branch September 26, 2024 15:19
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

Successfully merging this pull request may close these issues.

2 participants