processwire:markdown
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| processwire:markdown [2016/02/08 12:28] – leo | processwire:markdown [2016/02/08 15:36] (current) – leo | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - basic : textarea | - basic : textarea | ||
| - details : html entity encoders (htmlspecialchars), | - details : html entity encoders (htmlspecialchars), | ||
| + | |||
| + | ==front== | ||
| + | |||
| + | on dirait qu'il y a par défaut un parser markdown : TextformatterMarkdownExtra | ||
| + | |||
| + | info ici : https:// | ||
| + | |||
| + | Et là : https:// | ||
| + | |||
| + | < | ||
| + | <?php | ||
| + | // includes | ||
| + | $markdown_module_path = " | ||
| + | require $markdown_module_path." | ||
| + | require $markdown_module_path." | ||
| + | // declaring parser | ||
| + | $Extra = new ParsedownExtra(); | ||
| + | //use | ||
| + | $page-> | ||
| + | echo $Extra-> | ||
| + | </ | ||
| + | |||
processwire/markdown.1454930880.txt.gz · Last modified: 2016/02/08 12:28 by leo