DEV Community

Discussion on: Start your blog with a Dev.to backend

 
evanplaice profile image
Evan Plaice • Edited

BTW, the component uses lightDOM. Meaning you can style it globally.

Styles can be defined relative to the component. Once parsed, it'll contain the Markdown rendered as HTML. So, you can define styles like this:

wc-markdown > h1 {
  font-size: 18px;
}