Giter VIP home page Giter VIP logo

markdown-css's Introduction

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>

markdown-css's People

Contributors

samypesse avatar

Stargazers

 avatar 勞友刑✨ avatar 微笑の辛翼 avatar Roman Kozelkov avatar Anton Chebotaev avatar Yu, Yang avatar Travis Taylor avatar Tsuyoshi CHO avatar Ray Lugo, Jr. avatar Angus H. avatar Amit Singh Sethi avatar Dejia Xu avatar sarthak avatar  avatar

Watchers

James Cloos avatar Aaron O'Mullan avatar  avatar Johan Preynat avatar  avatar 勞友刑✨ avatar

markdown-css's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.