Giter Site home page Giter Site logo

clazex / mdpreview Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 311 KB

A Web Page to Render Remote Markdown File

Home Page: https://mdpreview.clazex.net/

License: GNU Affero General Public License v3.0

JavaScript 54.53% HTML 28.98% CSS 16.50%
website markdown html javascript vue online-service markdown-viewer markdown-previewer jsdelivr

mdpreview's Introduction

mdpreview

A Web Page to Render Remote Markdown File

Query Syntax

  • source: bool, default: false, whether source code should be displayed
  • sanitize: bool, default: true, whether compiled markdown should be sanitized
  • control: bool, default: true, whether to display control area
  • credit: bool, default: true, whether to display credit area
  • lang: string, default: en_us, language to be displayed, current available language: en_us, zh_cn, zh_tw
  • hlStyle: string, default: github-gist, highlight style to be used, see Hightlight Styles for more information
  • hlLevel: number, default: 1, level of language support for highlight, note that higher levels introduce loading delay, available levels: 1, 2, 3
  • url: string, markdown file to be loaded, this value should be a escaped URL and MUST BE THE LAST KEY

Highlight Styles

Available Styles: a11y-dark, a11y-light, agate, an-old-hope, androidstudio, arduino-light, arta, ascetic, atelier-cave-dark, atelier-cave-light, atelier-dune-dark, atelier-dune-light, atelier-estuary-dark, atelier-estuary-light, atelier-forest-dark, atelier-forest-light, atelier-heath-dark, atelier-heath-light, atelier-lakeside-dark, atelier-lakeside-light, atelier-plateau-dark, atelier-plateau-light, atelier-savanna-dark, atelier-savanna-light, atelier-seaside-dark, atelier-seaside-light, atelier-sulphurpool-dark, atelier-sulphurpool-light, atom-one-dark-reasonable, atom-one-dark, atom-one-light, brown-paper, brown-papersq, codepen-embed, color-brewer, darcula, dark, darkula, default, docco, dracula, far, foundation, github-gist, github, gml, googlecode, gradient-dark, grayscale, gruvbox-dark, gruvbox-light, hopscotch, hybrid, idea, ir-black, isbl-editor-dark, isbl-editor-light, kimbie.dark, kimbie.light, lightfair, magula, mono-blue, monokai-sublime, monokai, night-owl, nord, obsidian, ocean, paraiso-dark, paraiso-light, pojoaque, purebasic, qtcreator_dark, qtcreator_light, railscasts, rainbow, routeros, school-book, shades-of-purple, solarized-dark, solarized-light, sunburst, tomorrow-night-blue, tomorrow-night-bright, tomorrow-night-eighties, tomorrow-night, tomorrow, vs, vs2015, xcode, xt256, zenburn

Credits

Vue Marked DOMPurify Superagent Highlight.js Typora

mdpreview's People

Contributors

clazex avatar

Stargazers

 avatar  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.