{"id":10673,"date":"2010-09-27T13:43:05","date_gmt":"2010-09-27T13:43:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/markdown-on-save\/"},"modified":"2024-05-04T18:24:16","modified_gmt":"2024-05-04T18:24:16","slug":"markdown-on-save","status":"publish","type":"plugin","link":"https:\/\/mk.wordpress.org\/plugins\/markdown-on-save\/","author":2545,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.1","stable_tag":"1.3.1","tested":"6.5.8","requires":"6.0","requires_php":"","requires_plugins":null,"header_name":"Markdown on Save","header_author":"Mark Jaquith","header_description":"","assets_banners_color":"","last_updated":"2024-05-04 18:24:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/coveredweb.com\/","rating":5,"author_block_rating":0,"active_installs":70,"downloads":12813,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"markjaquith","date":"2010-09-27 13:43:57"},"1.1":{"tag":"1.1","author":"markjaquith","date":"2011-05-18 21:54:05"},"1.1.1":{"tag":"1.1.1","author":"markjaquith","date":"2011-05-19 17:36:07"},"1.1.2":{"tag":"1.1.2","author":"markjaquith","date":"2011-11-03 03:48:26"},"1.1.3":{"tag":"1.1.3","author":"markjaquith","date":"2011-11-03 07:35:55"},"1.1.4":{"tag":"1.1.4","author":"markjaquith","date":"2011-11-07 07:41:11"},"1.1.5":{"tag":"1.1.5","author":"markjaquith","date":"2011-11-15 06:08:05"},"1.2":{"tag":"1.2","author":"markjaquith","date":"2013-02-13 01:00:26"},"1.2.1":{"tag":"1.2.1","author":"markjaquith","date":"2013-04-24 14:42:28"},"1.3.0":{"tag":"1.3.0","author":"markjaquith","date":"2024-05-04 18:21:24"},"1.3.1":{"tag":"1.3.1","author":"markjaquith","date":"2024-05-04 18:24:16"}},"upgrade_notice":{"1.2.1":"<p>Update if another Markdown plugin isn&#039;t playing well with Markdown on Save<\/p>","1.1.5":"<p>Update to fix issues with slashes disappearing.<\/p>","1.1.4":"<p>Upgrade to use Markdown over XML-RPC (use  to enable it)<\/p>","1.1.3":"<p>Upgrade to fix the bug that caused &quot;titles&quot; in links to fail parsing and to disable the visual editor in Markdown mode<\/p>","1.1.2":"<p>Upgrade to fix the bug that caused &quot;titles&quot; in links to fail parsing<\/p>","1.1.1":"<p>Prevents the meta box from mistakenly appearing on the Dashboard<\/p>","1.1":"<p>Enables the Markdown option for all content types, instead of limiting it to posts<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.2","1.2.1","1.3.0","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3081322,"resolution":"1","location":"plugin"}},"screenshots":{"1":"The Markdown logo you click to designate a post as containing Markdown. This is the only UI for the plugin!"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1975,4608],"plugin_category":[46],"plugin_contributors":[77745],"plugin_business_model":[],"class_list":["post-10673","plugin","type-plugin","status-publish","hentry","plugin_tags-formatting","plugin_tags-markdown","plugin_category-editor-and-writing","plugin_contributors-markjaquith","plugin_committers-markjaquith"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/markdown-on-save.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/markdown-on-save\/trunk\/screenshot-1.png?rev=3081322","caption":"The Markdown logo you click to designate a post as containing Markdown. This is the only UI for the plugin!"}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to compose content in Markdown on a per-item basis. The markdown version is stored separately (in the <code>post_content_filtered<\/code> column), so you can deactivate this plugin and your posts won't spew out Markdown, because HTML is stored in the <code>post_content<\/code>, just like normal. This is also much faster than doing on-the-fly Markdown conversion on every page load. It's only done once! When you re-edit the post, the markdown version is swapped into the editor for you to edit. If something external updates the post content, you'll lose the Markdown version.<\/p>\n\n<p>Note: this plugin assumes you're using the Classic editor.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload the <code>markdown-on-save<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory<\/p><\/li>\n<li><p>Activate the \"Markdown On Save\" plugin in your WordPress administration interface<\/p><\/li>\n<li><p>Create a new post with Markdown, and click the Markdown logo in the publish metabox (see screenshot).<\/p><\/li>\n<li><p>Done! Now that post can be edited using Markdown, but will save as processed HTML on the backend.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20use%20markdown%20syntax%3F'><h3>How do I use Markdown syntax?<\/h3><\/dt>\n<dd><p>Please refer to this resource: [http:\/\/michelf.com\/projects\/php-markdown\/extra\/](PHP Markdown Extra).<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20click%20the%20markdown%20logo%20again%3F'><h3>What happens if I click the Markdown logo again?<\/h3><\/dt>\n<dd><p>Your post will no longer be interpreted as Markdown, you will be returned to the normal editing experience.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20decide%20i%20don%27t%20want%20this%20plugin%20anymore%3F'><h3>What happens if I decide I don't want this plugin anymore?<\/h3><\/dt>\n<dd><p>Just deactivate it. The Markdown version is stored separately, so without the plugin, you'll just revert to editing the HTML version.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Use the \"extra\" version of Markdown with all the features<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Modern PHP syntax<\/li>\n<li>Better accessibility<\/li>\n<li>Modern Markdown library using Composer<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Play better with other plugins that also use PHP Markdown Extra<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Update PHP Markdown Extra to 1.2.6<\/li>\n<li>Keep track of which revisions were Markdown and which were not<\/li>\n<li>Restore old revisions properly, including Markdown status<\/li>\n<li>Fix a slashing bug that would prevent link titles from parsing<\/li>\n<li>Fix a bug related to autosave<\/li>\n<li>Use Dustin Curtis' Markdown logo as a toggle<\/li>\n<li>Work on the WP-specific XML-RPC API in addition to the generic API<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Fix a <code>stripslashes()<\/code> error<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>XML-RPC support (use <!--markdown--> to enable Markdown mode)<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Disables the Visual Editor if the post being edited is in Markdown mode<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fix a slashes bug which would cause link titles to fail<\/li>\n<li>Enable Markdown when posting remotely by using <!--markdown--> anywhere in post content<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix bug which made the metabox show up on the Dashboard<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Some extra nonce protection<\/li>\n<li>Enable the plugin for all content types, not just posts<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First public version<\/li>\n<li>Fixed a regex bug that could break current menu highlighting. props skarab<\/li>\n<\/ul>","raw_excerpt":"Allows you to compose content in Markdown on a per-item basis. The markdown version is stored separately, so you can deactivate this plugin any time.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10673"}],"author":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/markjaquith"}],"wp:attachment":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10673"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10673"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10673"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10673"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10673"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}