Giter Site home page Giter Site logo

actionbar / markdown-css-smartisan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nihaojob/markdown-css-smartisan

0.0 0.0 0.0 2.71 MB

按照锤子便签调整的markdown-css 主题。

Home Page: https://nihaojob.github.io/markdown-css-smartisan/

License: MIT License

JavaScript 0.13% CSS 27.36% HTML 72.51%

markdown-css-smartisan's Introduction

markdown-css-smartisan

一个基于锤子便签的markdown主题。

体验编辑器

Markdown 主题

可以体验编辑器 , 或预览我们的主题,和锤子便签对比一下。

Install

Download manually, from CDNJS, or with npm or yarn:

# use npm
$ npm install markdown-css-smartisan
# use yarn
$ yarn add markdown-css-smartisan

Usage

import 'markdown-css-smartisan'

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

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/markdown-css-smartisan/github-markdown.css" />
<style>
.markdown-body {
  width: 80%;
  margin: 0 auto;
}

</style>
<article class="markdown-body">
	<h1>Unicorns</h1>
	<p>All the things</p>
</article>

If you want code syntax highlighted, use GitHub Flavored Markdown rendered from GitHub's /markdown API.

How

See generate-github-markdown-css for how it's generated and ability to generate your own.

markdown-css-smartisan's People

Contributors

bnjmnt4n avatar dguo avatar jpuck avatar jumbosushi avatar nihaojob avatar pd4d10 avatar proppy avatar sindresorhus avatar tylerlong avatar

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.