Developer-DAO / Developer-DAO/academy

Need rich text functionality in the quiz/mini-quiz components.

Open
#209 5 comments 0 reactions 0 assignees View on GitHub
enhancement feature request
Dominant language
MDX
Stars
111
Forks
51
PR merge metrics
No merged PRs in 30d

Description

At the moment, we don't have any rich text functionality in the quizzes and mini-quizzes. But we are limited to using quotes and back ticks, which is a bit ugly/messy, and it means we can't have good and predictable writing conventions.

Sometimes we need to highlight a `piece of code` in the questions and possible answers, so that it is quickly identifiable to and easy to differentiate from other text for the learner:
Q. What does the `tokenTier` mapping do?
A. It maps the token ID to its corresponding tier.
A. It maps `tokenTier` to the `totalSupply`.

Sometimes we want to highlight a word, where *italics* would be appropriate:
Q. What does the term *gas* refer to in the context of Ethereum?

Sometimes we need text in **bold** to really stress something.....that we really want to stress.
Q. What is a private key?
A. A key that gives total access to whomever holds it to have **full control** of an account and its assets

And then we need to agree on when and where to use them (so we can add a footnote to our lesson template guidelines doc)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.