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

Category: CSS & CSS3 , Recommended | November 15, 2018
Author: SukkaW
Views Total: 368 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>

You Might Be Interested In:


Leave a Reply