Giter Site home page Giter Site logo

tomaszkunicki / js-markdown-extra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tanakahisateru/js-markdown-extra

0.0 1.0 0.0 509 KB

PHP-Markdown-extra compatible Javascript markdown syntax parser

Home Page: http://tanakahisateru.github.com/js-markdown-extra/

js-markdown-extra's Introduction

js-markdown-extra

ver 1.2.4 based on PHP Markdown Extra 1.2.5
originally developed by boumankan

What's this?

js-markdown-extra is a experimental JavaScript port of PHP Markdown Extra.

PHP Markdown Extra demo

I couldn't retain complete comaptibility because of difference between PHP's regular expression and JavaScript's one, but it can convert most of simple markdown text. perhaps.

Demo

You can try in your hand.

Demo page

How to use

Load this script in HTML and call Markdown function.

	//example :
	var html = Markdown( text );

Notice

It has possibility of entering infinite loop by some user input because I try to port PHP Markdown Extra with incompatible regular expression test.

Known issues

  • Emphasis or strong syntax may have a bug.
  • Possible to freeze when incomplete syntax.
  • Bracket nesting is unsupported.

Copyright

License

This software is based on BSD license.

Free for modification, redistribution and embedding if copyright included.

Agreement

Shall we not be liable for any damages caused by this software.

js-markdown-extra's People

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.