Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-markdown-css

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-markdown-css

Minimalist stylesheet (CSS or Less) for markup output

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
32
decreased by-56.76%
Maintainers
6
Weekly downloads
 
Created
Source

gitbook-markdown-css

Minimalist stylesheet (CSS or Less) for markup output.

Installation

$ npm install gitbook-markdown-css

Usage

Less version
@import "./node_modules/gitbook-markdown-css/less/mixin.less";

article {
    .gitbook-markdown();
}

See less/mixin.less for options.

CSS version

Import the gitbook-markdown.css file and add a gitbook-markdown-body class to the container of your rendered Markdown and set a width for it.

<link rel="stylesheet" href="gitbook-markdown.css">
<style>
    .markdown-body {
        min-width: 200px;
        max-width: 790px;
        margin: 0 auto;
        padding: 30px;
    }
</style>
<article class="gitbook-markdown-body">
    <h1>Unicorns</h1>
    <p>All the things</p>
</article>

FAQs

Package last updated on 12 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc