linhe0x0 / markcss

A markdown theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markcss for Markdown

This is a markdown theme carefully crafted & designed for modern computer screens.

The theme now has a built-in dark mode support. Which means the theme changes with your system, and you don't have to manually setup any preferences.

Separated themes (mark-light.css, mark-dark.css) are also provided.

And separated themes (github-markdown.css, github-markdown-light.css, github-markdown-dark.css) for GitHub Markdown style are also provided.

This theme is currently tested on MacOS only.

Live Demo

πŸ“¦οΈ Installation

npm install markcss

# or using yarn
yarn add markcss

Usage

The github-markdown.css is exported by default. If you want to get the full page version, please see dist/mark.css.

/* with PostCSS in css file */
@import 'markcss';
// with Webpack or others in js file */
import 'markcss'

All Files

dist
β”œβ”€β”€ github-markdown-dark.css
β”œβ”€β”€ github-markdown-light.css
β”œβ”€β”€ github-markdown.css
β”œβ”€β”€ mark-dark.css
β”œβ”€β”€ mark-light.css
└── mark.css

LICENSE

This project is licensed under the MIT License.


sqrtthree.com  Β·  GitHub @sqrthree  Β·  Twitter @sqrtthree

About

A markdown theme

License:MIT License


Languages

Language:CSS 85.5%Language:JavaScript 8.2%Language:EJS 6.4%