Debian package libmarkdown-php, how can I use it?
- What code do I run to use the markdown library?
- Does it simply just add one function?
- Does it allows me to encode markdown2html and vise versa?
Where is a doc for this package, I can't find one? :(
Okay, so it terns out that I found the docs, just did not match them up, the project-page did not contain any info on it being the Squeeze package libmarkdown-php, Sad to know it is not in Lenny. Thanks @palhmbus for matching them. :)
You can use this in your php script
include_once "markdown.php";
$my_html = Markdown($my_text);
This is an example with PHP SmartyPants:
$my_html = SmartyPants(Markdown($my_text));
There is plugins for wordpress & bBlog
精彩评论