{"id":28443,"date":"2014-03-22T16:39:27","date_gmt":"2014-03-22T16:39:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-markupcollection\/"},"modified":"2014-05-09T14:22:02","modified_gmt":"2014-05-09T14:22:02","slug":"wp-markupcollection","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/wp-markupcollection\/","author":13650688,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"1.1.2","tested":"3.9.40","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"WP-MarkupCollection","header_author":"Koichi Nakashima","header_description":"","assets_banners_color":"","last_updated":"2014-05-09 14:22:02","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/nksm.name\/donate\/","header_plugin_uri":"https:\/\/github.com\/ko1nksm\/wp-markup-collection","header_author_uri":"http:\/\/nksm.name\/","rating":1,"author_block_rating":0,"active_installs":10,"downloads":2111,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[25052,4608,16494,69722,52148],"plugin_category":[],"plugin_contributors":[95023],"plugin_business_model":[],"class_list":["post-28443","plugin","type-plugin","status-publish","hentry","plugin_tags-dokuwiki","plugin_tags-markdown","plugin_tags-mediawiki","plugin_tags-restructuredtext","plugin_tags-textile","plugin_contributors-ko1nksm","plugin_committers-ko1nksm"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-markupcollection.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is developed on Github. To get full source code, see Github.<\/p>\n\n<p><a href=\"https:\/\/github.com\/ko1nksm\/wp-markup-collection\">https:\/\/github.com\/ko1nksm\/wp-markup-collection<\/a><\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Write your posts using many markup languages.<\/li>\n<li>Syntax highlighter plugin integration..<\/li>\n<li>Customizable architecture to use another filter. (for developer)<\/li>\n<\/ul>\n\n<h4>Filters and supported Markup Languages<\/h4>\n\n<ul>\n<li>[Internal] PHP Markdown (Markdown)<\/li>\n<li>[Internal] PHP Markdown Extra (Markdown Extra)<\/li>\n<li>[Internal] PHP Markdown Lib (Markdown, Markdown Extra) *Requires PHP &gt;= 5.3.0<\/li>\n<li>[Internal] PHP Textile (Textile) *Requires PHP &gt;= 5.3.0<\/li>\n<li>[Internal] PHP reStructuredText (reStructuredText)<\/li>\n<li>[Internal] Text_Wiki (BBcode, coWiki, Creole, DokuWiki, MediaWiki, Tiki)<\/li>\n<li>[Internal] HatenaSyntax (Hatena Syntax)<\/li>\n<li>[External] MultiMarkdown  (MultiMarkdown)<\/li>\n<li>[External] Pandoc (Markdown, reStructuredText, Textile, LaTeX, MediaWiki, AsciiDoc, Org-Mode, etc)<\/li>\n<\/ul>\n\n<p>The external filter, you need to install the command.<\/p>\n\n<h4>Markup syntax<\/h4>\n\n<p>Supported syntax are depend on those libraries or commands.<\/p>\n\n<p>PHP Markdown, PHP Markdown Extra, PHP Markdown Lib<br \/>\n<a href=\"http:\/\/michelf.ca\/projects\/php-markdown\/\">http:\/\/michelf.ca\/projects\/php-markdown\/<\/a><\/p>\n\n<p>PHP Textile<br \/>\n<a href=\"https:\/\/github.com\/textile\/php-textile\/\">https:\/\/github.com\/textile\/php-textile\/<\/a><\/p>\n\n<p>PHP reStructuredText<br \/>\n<a href=\"https:\/\/code.google.com\/p\/php-restructuredtext\/\">https:\/\/code.google.com\/p\/php-restructuredtext\/<\/a><\/p>\n\n<p>Text_Wiki<br \/>\n<a href=\"https:\/\/github.com\/pear\/Text_Wiki\/\">https:\/\/github.com\/pear\/Text_Wiki\/<\/a><\/p>\n\n<p>HatenaSyntax<br \/>\n<a href=\"https:\/\/github.com\/anatoo\/HatenaSyntax\">https:\/\/github.com\/anatoo\/HatenaSyntax<\/a><\/p>\n\n<p>MultiMarkdown<br \/>\n<a href=\"http:\/\/fletcherpenney.net\/multimarkdown\/\">http:\/\/fletcherpenney.net\/multimarkdown\/<\/a><\/p>\n\n<p>Pandoc<br \/>\n<a href=\"http:\/\/johnmacfarlane.net\/pandoc\/\">http:\/\/johnmacfarlane.net\/pandoc\/<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install from wordpress plugins menu. Search \"WP-MarkupCollection\" and click install.<\/li>\n<\/ol>\n\n<h4>Alternative<\/h4>\n\n<ol>\n<li>Upload <code>wp-markup-collection<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Add executable permissions to \"wp-markup-collection\/bootstrap.php\" (if you want to use ExecRunner).<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<h4>Optional<\/h4>\n\n<ul>\n<li>If you want to use external filters, install the command. e.g. multimarkdown, pandoc.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Supported PHP version<\/dt>\n<dd><p>5.2 or later (some filters requires 5.3 or later)<\/p><\/dd>\n<dt>What is multimarkdown or pandoc<\/dt>\n<dd><p>This plugin supports multimarkdown and pandoc as external filters\nIf you want to use external filters, You need to install those command.<\/p><\/dd>\n<dt>Where can I get multimarkdown from?<\/dt>\n<dd><p>Please refer to <a href=\"http:\/\/fletcherpenney.net\/multimarkdown\/\">http:\/\/fletcherpenney.net\/multimarkdown\/<\/a><\/p>\n\n<p>Note: Get MultiMarkdown-4. (not MMD3 aka peg-multimarkdown)<\/p><\/dd>\n<dt>Where can I get pandoc from?<\/dt>\n<dd><p>Please refer to <a href=\"http:\/\/johnmacfarlane.net\/pandoc\/\">http:\/\/johnmacfarlane.net\/pandoc\/<\/a><\/p><\/dd>\n<dt>I want to use \"sed or something\" as filter, but doesn't work<\/dt>\n<dd><p>Due to security reason, Executable commands are limited. If you want to use another command as filter, need to create custom classes.<\/p>\n\n<p>Please refer to \"custom.example.php\" that is included in this plugin.<\/p><\/dd>\n<dt>When plugin was deactivated, markup are displayed on the posts.<\/dt>\n<dd><p>Markup (wrapped in a fallback tag) stored in the post_content column. When disabling the plugin, displays content in post_content column as is as HTML.<\/p>\n\n<p>If this behavior is unpleasant, check the box to \"convert to HTML\" when you save.<\/p><\/dd>\n<dt>Where the data is stored?<\/dt>\n<dd><ul>\n<li>posts - post_content column of wp_posts table.<\/li>\n<li>cache of posts - wp_postmeta table.<\/li>\n<li>meta of posts - wp_postmeta table.<\/li>\n<li>options - wp_options table.<\/li>\n<\/ul><\/dd>\n<dt>Why are you store posts's cache in wp_postmeta?<\/dt>\n<dd><p>Some Markdown plugins are store the HTML to the post_content. And store the Markdown to the post_content_filtered.<\/p>\n\n<p>This approach is superior that doesn't spew out Markdown even if you disable the plugin. But it has some problem.<\/p>\n\n<ul>\n<li>Revisions and Auto-saved posts format are HTML.<\/li>\n<li>Compare Revisions are displayed in HTML.<\/li>\n<li>Does not export post_content_filtered column.<\/li>\n<li>Bulk edit lose Markdown.<\/li>\n<\/ul>\n\n<p>I don't want to lose markup. For that I made \u200b\u200bthis plugin.<\/p><\/dd>\n<dt>What happens if uninstall this plugin.<\/dt>\n<dd><p>Option will be removed. Posts and cache are remains.<\/p><\/dd>\n<dt>What is \"&lt;pre class='wp-markup-collection'&gt;...&lt;\/pre&gt;\"<\/dt>\n<dd><p>This is fallback tag. Markup are stored by being wrapped in a fallback tag internally.<\/p>\n\n<p>When you disable plugin, Markup displayed as HTML in a fallback tag in order to avoid the collapse of the page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fix a bug that garbage is inserted when article is large.<\/li>\n<li>Compatibility with WordPress 3.9.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix a no args filter call via HTTP POST.<\/li>\n<li>Fix a bug that doesn't allow to change without filter.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>No need for php cli.<\/li>\n<li>Fix for php 5.2.6<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>stable release<\/p>","raw_excerpt":"This plugin allows you to write posts using Markdown, DokuWiki, MediaWiki, reStructuredText, textile, HatenaSyntax, BBcode, etc.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28443"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ko1nksm"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28443"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28443"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28443"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28443"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28443"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}