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

color don't work in revealjs with quarto! #6

Open
nqt2022 opened this issue Oct 22, 2023 · 5 comments
Open

color don't work in revealjs with quarto! #6

nqt2022 opened this issue Oct 22, 2023 · 5 comments

Comments

@nqt2022
Copy link

nqt2022 commented Oct 22, 2023

I see you create for pdf, html.
I use revealjs in quarto for create slide html.
I want to use your _extension with color [948bde, 584eab] for "Theorem" in revealjs with quarto. But color "Theorem" is default!
How you can?
my YAML:


groups:
thmlike:
colors: [948bde, 584eab]
boxstyle: foldbox.simple
collapse: false
listin: [mathstuff]
todos: default
classes:
Theorem:
group: thmlike
revealjs:

Thanks

@ute
Copy link
Owner

ute commented Oct 22, 2023

Hi nqt2022,
Thanks for reporting! I have not tried with revealjs, but did you use indentation in your yaml, or does it look like above? Does the example.qmd (not reveal.js) work for you?
Best,
Ute

@nqt2022
Copy link
Author

nqt2022 commented Oct 22, 2023

Yes, the example.qmd work very pretty for me.
in reveal.js, I see:

  • the example is ok,
  • but the color of each group (in your code) is default as Feature: default. I don't know change the color each groups
    PS:
    Thanks for the reply!
    I use Rstudio for editor and compile file example.qmd!

@ute
Copy link
Owner

ute commented Oct 22, 2023

Maybe it is due to some css from reveal.js?
I would need to try out at some stage - it will take a while until I have time, but if you have an idea how to fix it that would be great!

@ute
Copy link
Owner

ute commented Oct 24, 2023 via email

@nqt2022
Copy link
Author

nqt2022 commented Oct 24, 2023

Hi, I use quarto version 1.4.398 with Rstudio!
I'm newbie for quarto. I knew TeX, python.
How can I understand your source for this extend?
Thanks

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