Giter VIP home page Giter VIP logo

md2html-online's Introduction

YAM2H

Yet Another Markdown To HTML Converter

See how you can enable your site with markdown capability

YAM2H demonstrates the conversion of markdown to HTML via JavaScript in a web browser.

  Demo   |     Blog

Markdown, HTML & Results Displayed

  • Write markdown in your browser — or click buttons to generate example markdown for you
  • Click the "Convert" button
  • Another text box displays the generated HTML code
  • The browser then renders the HTML code, displaying the final result

Dependencies

Update: June 22, 2017

Now Using the Google Closure Compiler: The /js folder contains a batch file which runs the compiler and produces app.cc.min.js. For production deployment to a web server this file is manually renamed to app.min.js.

See also: Carl's personal blog article on the subject.

Listing of `./js/cc.bat

REM Google closure compiler settings
REM Breaking long lines requires space, carot (^), newline, space, continue command

java -jar closure-compiler-v20170521.jar ^
 --compilation_level SIMPLE_OPTIMIZATIONS ^
 --js ../../../../libs/syntax_highlighter/js/shCore.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushJScript.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushCss.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushXml.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushBash.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushCpp.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushCSharp.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushDiff.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushJava.js ^
 --js ../../../../libs/syntax_highlighter/js/shBrushSass.js ^
 --js foundation/foundation.js  ^
 --js marked-lib/marked.js  ^
 --js clipboard.min.js ^
 --js file-drop/jQuery.FileDrop.all.js ^
 --js app.js ^
 --js_output_file app.cc.min.js ^
 --externs externs.js  ^
 -W=default

pause
 

md2html-online's People

Contributors

cengstrom1 avatar

Watchers

 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.