Skip to content
Uses marked-js to convert markdown to HTML and render it in the browser.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
img Toggle slide effect for upper display Mar 15, 2016
.gitignore Acts as an app now. Basic ... but works. Dec 8, 2015
Markdown App - Online Converter with Switched 'copy-to-clipboard' impl to use clipboard.js. Also, included… Dec 14, 2015 Update syntax highlighter brush for C# to additionally use 'cs' alias. Jun 22, 2017
favicon.ico Syntax highlight md to html code. Jun 1, 2017
x-md-16x16.png Syntax highlight md to html code. Jun 1, 2017


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


Update: June 22, 2017

Now Using the Google Closure Compiler: The /js folder contains a batch file which runs the compiler and produces 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 ^
 --externs externs.js  ^

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.