mark-down-style
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "mark-down-style", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Markdown Style.", | ||
"main": "index.css", | ||
"scripts": { | ||
"build": "sass --no-source-map --style=compressed scss/index.scss index.css" | ||
"build": "sass --no-source-map --style=compressed scss/index.scss index.css", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -23,2 +24,3 @@ "repository": { | ||
"devDependencies": { | ||
"chokidar": "^3.5.2", | ||
"sass": "^1.39.0" | ||
@@ -25,0 +27,0 @@ }, |
# Markdown Style | ||
> Based on [github-markdown-css](https://github.com/sindresorhus/github-markdown-css). | ||
## Install | ||
```bash | ||
npm i mark-down-style | ||
``` | ||
## Supported sass variables | ||
```scss | ||
/* the container's className */ | ||
$containerClassName: md-style !default; | ||
/* pre background color */ | ||
$pre-bg-color: #2c2d2d !default; | ||
/* heading font size */ | ||
$base-font-size: 1rem !default; | ||
$h1-font-size: $base-font-size * 2.5 !default; | ||
$h2-font-size: $base-font-size * 2 !default; | ||
$h3-font-size: $base-font-size * 1.75 !default; | ||
$h4-font-size: $base-font-size * 1.5 !default; | ||
$h5-font-size: $base-font-size * 1.25 !default; | ||
$h6-font-size: $base-font-size !default; | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11964
16
27
2