How to I apply a custom style to the header of a paragraph? #5988
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Use spans, see https://quarto.org/docs/authoring/markdown-basics.html#divs-and-spans. ## [somethings]{.blue_header} Or actually use CSS which in this case is controlled at least by |
Beta Was this translation helpful? Give feedback.
-
I would like to use the 2nd option by assigning a css style to the class
css
|
Beta Was this translation helpful? Give feedback.
it's useful in such cases to take a look at the browser's Dev tools and check what is being selected. You want to select the h2 element from that section, not the whole section: