Markdown Extra support?
-
Great plugin, Paolo.
Two issues:
1. How can I use Markdown Extra for parsing my files? I want to use fenced code blocks with class names in my files (https://michelf.ca/projects/php-markdown/extra/#fenced-code-blocks), so Extra is a must.
Your plugin does include the Markdown Extra library (albeit an outdated version), but does not seem to use it. If change “Markdown” to “MarkdownExtra” in lines 524 and 549 of pvd.php the manual check breaks.
Update
I’ve now been able to make it work by including the latest version (1.5.0) of the Markdown Extra library and changing line 524 torequire(plugin_dir_path(__FILE__).'Michelf/MarkdownExtra.inc.php');
and line 549 to$content = \Michelf\MarkdownExtra::defaultTransform($content);
Maybe you could update your plugin to include the latest markdown library and add an option to choose between Markdown and Markdown Extra?
2. In simplified posting mode, the post title in WordPress is all lowercase, even though the filename includes with uppercase letters. Example: “This a Sample Post.md” becomes “this is a sample post” in WordPress and “183-this is a sample post.md” in dropbox/Post_via_Dropbox/posted
- The topic ‘Markdown Extra support?’ is closed to new replies.