CSS Library To Replicate The GitHub Markdown Style – markdown.css


Author: SukkaW
Views Total: 505 views
Official Page: Go to website
Last Update: November 15, 2018
License: MIT

Preview:

CSS Library To Replicate The GitHub Markdown Style – markdown.css

Description:

markdown.css is an ultra-light CSS library to replicate the Github markdown style similar to the familiar github-markdown-css.

How to use it:

Install & download the markdown.css with package managers.

# Yarn
$ yarn add @sukka/markdown.css
# NPM
$ npm install @sukka/markdown.css --save

Import the markdown.css into your document.

<link rel="stylesheet" href="markdown.css">

Or from a CDN.

<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@sukka/markdown.css">

Add the required CSS class markdown-body to the markdown container and done.

<div class="markdown-body">
  <h1>markdown.css</h1>
  <p>content here</p>
</div>

See also  Material Style Responsive Dropdown Navigation with Pure CSS

Leave a Reply

Your email address will not be published. Required fields are marked *