Skip to content

A php class for parsing Markdown markup in comments, without authorizing html tags. This is an adaptation of Michel Fortin's PHP Markdown.

License

Notifications You must be signed in to change notification settings

piero-la-lune/PHP-Markdown-for-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PHP Markdown for comments

A php class for parsing Markdown markup in comments, without authorizing html tags. This is an adaptation of Michel Fortin's PHP Markdown.

For more informations about PHP Markdown, see http://michelf.com/projects/php-markdown/

Usage

Include Markdown.class.php, and then:

$parser = new Markdown();
echo $parser->transform($comment);

That's it! No need to check the return of transform().

About

A php class for parsing Markdown markup in comments, without authorizing html tags. This is an adaptation of Michel Fortin's PHP Markdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages