<?phpheader ("Content-type:text/html;charset=utf-8"); require_once (' parsedown.php '); $text = ' # #Markdown有哪些功能? * convenient ' Import and export ' function * directly drag and drop a markdown text file to the current page. * Exported to an HTML format file, the style is not lost at all * Edit and Preview ' sync Scrolling ', WYSIWYG (upper right corner setting) * ' VIM accelerator ' support, square Then vim party quick operation (upper right corner setting) * powerful ' custom CSS ' feature, easy to customize your own display * There are also quality ' theme ', editor and preview area * perfectly compatible with ' Github ' markdown syntax * Preview area ' code highlighting ' * All options auto memory '; $result = Parsedown::instance ()->parse ($text); Echo $result;
Markdown Download Link: http://pan.baidu.com/s/1eQo3cBo
PHP markdown Parsing