How does one use custom class based stylesheet #353

Closed
opened 2026-01-29 14:34:30 +00:00 by claunia · 1 comment
Owner

Originally created by @MihaMarkic on GitHub (Mar 12, 2020).

How does one use class based stylesheet such as github-markdown?
Or should I use a stylesheet that simply override styles for default classes?

Originally created by @MihaMarkic on GitHub (Mar 12, 2020). How does one use class based stylesheet such as [github-markdown](https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/4.0.0/github-markdown.css)? Or should I use a stylesheet that simply override styles for default classes?
Author
Owner

@MihaMarkic commented on GitHub (Mar 12, 2020):

I guess one simply wraps content into

  <article class="markdown-body">
    .. content
  </article>
@MihaMarkic commented on GitHub (Mar 12, 2020): I guess one simply wraps content into ```html <article class="markdown-body"> .. content </article> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#353