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

Support mdbook-quiz addon #105

Open
uncenter opened this issue May 29, 2024 · 1 comment
Open

Support mdbook-quiz addon #105

uncenter opened this issue May 29, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@uncenter
Copy link
Member

Support https://github.com/cognitive-engineering-lab/mdbook-quiz. Should be as simple as:

.mdbook-quiz .answer .answer-row > div {
  .correct::before {
    color: @green;
  }
  .incorrect:before {
    color: @red;
  }
}

Though not sure if it should go in the main file or separately like it is for the admonish plugin.

@sgoudham sgoudham added the enhancement New feature or request label Sep 22, 2024
@sgoudham sgoudham added the good first issue Good for newcomers label Oct 6, 2024
@sgoudham
Copy link
Contributor

I think it should go in a separate file so there's nicer separation between the default mdBook tokens and the ecosystem plugins.

If people want to, they can merge the files themselves since it is all just CSS at the end of the day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants