Can I custom the color of bold text #1704
-
Can I custom the color of bold text? |
Beta Was this translation helpful? Give feedback.
Answered by
trusktr
Dec 31, 2021
Replies: 1 comment 1 reply
-
You can customize the style of your site just like any other site using CSS. Try putting this in your html file: <style>
/* Any bold text will be color deeppink. */
strong {
color: deeppink;
}
</style> This works because the markdown outputs You can find out by right-clicking on bold text, like this one, then selecting the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
phk1042791021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can customize the style of your site just like any other site using CSS.
Try putting this in your html file:
This works because the markdown outputs
<strong>
HTML elements around your bold text, so you can style those<strong>
elements.You can find out by right-clicking on bold text, like this one, then selecting the
Inspect
option, and you will see which element is used.