Just a quick question, why is there a need to store the markdown version? I would have thought 1) conversion to HTML 2) Storage of the HTML’d version in post_content
would be a far more efficient way of doing it.
Just wondering why there is a need to also keep the markdown version in post_content_filtered
? What benefit is there to keeping a copy of the markdown version?
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>I’ve switched to Jetpack. Now all my posts are in html.
Is there a way for me to force the use of the markdown version of the post?
Thanks!
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Howdy folks – as some of you knew through my earlier responses, I’ve decided to retire this plugin in favour of the similar-but-better Markdown module in Jetpack.
More info: https://wp.mattwie.be/2014/03/18/retiring-markdown-on-save-improved/
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>I began using MoSI in my blog but began seeing some strange behavior.
I occasionally include Unity3D C# example code, which is a language that uses angled brackets for referring to classes when using generics, eg:
TestClass tc = GetComponent<TestClass>();
Just in case the line above doesn’t show up properly in this comments section, it’s
TestClass tc = GetComponent LESS_THAN TestClass GREATER_THAN ();
please do the character replacement in your head ??
MoSI does retain the angled brackets when saving, but turns everything contained within the brackets into lowercase. In the example it would make TestClass into testclass.
As C# class names are case-sensitive, this breaks the functionality of the code blocks. Have I stumbled onto a previously unknown bug or is it my environment? Help appreciated.
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>I read that Markdown is now implemented in Jetpack. Will this plugin be stopped ? I don’t want Jetpack on my blogs and I hope there will be some solution…
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Every post — whether in WP web GUI, or WordPress app or MarsEdits etc — has the “Disable Markdown formatting” option set by default. How to change so that Markdown formatting is the default?
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>[shortcode]
any chance this not get **parsed** to markdown?
[/shortcode}
I’d like to use MOSI but my problem is that my syntaxhighlighted code inside shortcodes is messed up by the parser.
]]>Hi
Thanks a lot for your plugin. I envoy it a lot. Very well done to stock markdown in other place.
I wonder if there is a way to use it with post meta. I use a lot textarea generate by ACF plugin?
Thanks again
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Hello Matt,
From the looks of it, if I am not wrong, Markdown on Save Improved will soon make its way into Jetpack. It’s probably the one being used on WordPress.com as well.
But the problem remains. Certain edits (e.g. ‘Quick Edit’) delete the Markdown version of the post stored in post_content_filtered
column in the database.
I see that it’s the intended behavior of post_content_filtered
column, but in that case why use it at all? Why not some other column, that can store the Markdown version permanently? (Is it because, using any other column would make it difficult to replace Markdown/HTML in the editor when editing?)
Do you have any plans to “fix” this behavior?
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Hi,
I’m using WP 3.7.1 and MoSI 2.4.2 and have following code for outputing HTML5 tags when inserting images via Media Uploader:
function html5_insert_image($html, $id, $caption, $title, $align, $url, $size, $alt) {
$src = wp_get_attachment_image_src( $id, $size, false );
$html5 = "<figure>";
$html5 .= "<img src='$src[0]' alt='$alt' />";
if ($caption) {
$html5 .= "<figcaption>$caption</figcaption>";
}
$html5 .= "</figure>";
return $html5;
}
add_filter( 'image_send_to_editor', 'html5_insert_image', 10, 9 );
but on publish my output code looks like this:
<p></p>
<figure>
<img src="image_link" alt="alt_txt">
<p></p>
<figcaption>caption_txt</figcaption>
<p></p>
</figure>
<p></p>
If I put div around figure tags then there are no empty paragraphs but I’m wondering why figure and figcaption aren’t recognized as block elements? Also, this doesn’t happen with wp-markdown so it seems it’s not markdown problem since both plugins use same parser.
Any help is appreciated
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>I’ve been using this fantastic plugin for several months. Today I upgraded WP to 3.6.1 as well as a few plugins. I noticed that I was no longer able to view Markdownified text when using the Publish or Preview features. I tried disabling all plugins, but to no avail. After some troubleshooting, I found that there was a check during the preview and publish feature looking to see whether the “revision” post type supported “markdown-osi”. I’m not sure if this check is new, but it was returning false for me. On my site, this caused my “Save” button presses to work normally (ie. the text was filtered and saved correctly) but if I used Preview, the Markdown text was getting removed.
For me, the solution came by modifying plugins/markdown-on-save-improved/markdown-on-save.php around line 64, in the add_post_type_support() function like this:
protected function add_post_type_support() {
add_post_type_support( 'post', 'markdown-osi' );
add_post_type_support( 'revision', 'markdown-osi' );
add_post_type_support( 'page', 'markdown-osi' );
}
The middle line, telling WP to support “markdown-osi” on “revision” post types, was the fix. I’m not certain this is the *correct* fix, but it does work for me.
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Love this plugin on my Mac.
However…
In the WordPress app for iPhone and iPad, all of the line-breaks are lost, so it is not possible to edit the post.
Thanks.
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Before installing this plugin, I was using Markdown Extra. I would love to use MOSI but once I deactivate the former plugin, each post written in Markdown pre-your plugin now has the “Disable Markdown formatting” box checked and is displayed on the site with no conversion. I am left with the prospect of going through each and every post and unchecking the box, and my blog have almost 2000 entrys. Is there an easier way to do it?
Thanks in advance for your attention.
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Hello! My congratulations for the plugin, it is wonderful.
I have a problem, I can not use the button add media to insert pictures (some of my posts have 30 pictures).
So I write everything in html and then have to convert into a site that makes html2markdown.
Is it possible to add line average insert html code for images?
the option “convert html to markdown” never worked for me, everything is white.
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Hi,
I was wondering if there was some solution to enable syntax highlighting? I was using syntax highlighter evolved
but of course: this does not work anymore with the markdown.
Are there any options? Is it something that needs to be added?
I can code ?? So if you need any help in this regard, and you can point me in the right direction, I am willing to help.
Thanks,
Nathan
https://www.ads-software.com/plugins/markdown-on-save-improved/
]]>Hi, I’ve installed the plugin and try to write a new post in markdown. But when I preview the post, the output is the raw markdown, not the converted html.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>The plugin is really great! Unfortunately I now found that it clashes with the Chartboot plugin. Not always but sometimes. In these cases the entire post is not shown!
I have read in the documentation that it is possible to tell this plugin to not work for an entire post (<!--no-markdown-->
). Is something similar also possible for the section of the Chartboot Code? Or is there some other solution to this problem?
Max
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>Hi Matt,
Thank you for the great plug-in.
I noticed it a combination of plug-in and my application that I have developed.
Use the “wp.getPost”, App is going to re-acquire the post after posting.
Of this data “post_content” seems a HTML.
“wp.getPosts” is fine.
But, getting in “wp.getPost”, post_content is HTML.
I use the Text Control plugin to control e.g. white space handling and otherwise disable WordPress autoformatting and auto-paragraph/line-break work on a per-post basis. When that plugin and this one are both enabled, this one appears to override the white space settings of that one.
As an example, I have a class defined that allows me to post poetry with pre-defined white space, but of course to make that work, I have to disable WordPress’ automatic handling of the text—which I do, using Text Control.
When using the original Markdown on Save plugin, there is no problem. Using this one, however, it goes back to using the standard WordPress handling if not in Markdown mode.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>I’ve really enjoyed the plug-in so far. However, I’ve noticed when I am trying to use a * to create bullet points it will still be displayed as a * in my post and not a bullet point. Here is a post on my blog where you are able to see what I’m talking about.
Is this a bug or am I missing something in the settings?
Thanks in Advance,
Aaron
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>1) Input
> 4\. If a Party relies on patents …
2) Expected output
<p>4. If a Party relies on patents…
</p>
3) Produced
<p>4\. If a Party relies on patents …
</p>
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>Hello,
it seems that Footnotes are not working
That's some text with a footnote.[^1]
[^1]: And that's the footnote.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>Matt,
I just updated to latest version of MOSI, 2.4.1. I just noticed that I seem to have extra p tags surrounding text that should have extra p tags.
I have the following line.
Table of 10 Guests - $2150.00* [wp_cart:Table of 10 Guests:price:2150.00:end]
In the dingus it converts to the following.
<p>Table of 10 Guests - $2150.00* [wp_cart:Table of 10 Guests:price:2150.00:end]</p>
In my blog, using MOSI 2.4.1 it converts to the following.
<p>Table of 10 Guests – $2150.00* </p>
<div class="wp_cart_button_wrapper">
<form class="wp-cart-button-form" onsubmit="return ReadForm(this, true);" style="display:inline" action="" method="post">
</div>
<p></p>
Obviously the shortcode expands, but you can see 2 pair of p tags that aren’t where they should be. I believe this worked properly in a previous version but I don’t remember which version I was using prior to the update.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>PHP Markdown has a small problem with the way WordPress processes text, which I noticed in the upcoming WordPress flagship theme Twenty Thirteen.
Wondering if the issue could be fixed on PHP Markdown’s end, I shared a small bug report with the author: https://github.com/michelf/php-markdown/issues/73 (I described the issue in detail there, please take a look.)
The issue persists with the plugin too (obviously, as it uses PHP Markdown). Any idea as to how this can be fixed?
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>Hello, I was excited to see a plugin managing Markdown in comments – at least: https://www.ads-software.com/extend/plugins/github-flavored-markdown-comments/
But it’s not compatible with yours: see forum https://www.ads-software.com/support/topic/not-compatible-with-markdown-on-save-improved?replies=1
Don’t know if it’s possible so I ask here too. Maybe somebody will find a solution…
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>I run a multiuser blog with many guest bloggers who depend on the visual editor. Some of us would like to use this plugin, but we’d like it disabled by default for the rest of the users and for new users. Is there anyway to enable this plugin for only some users of the blog? Or might this be added as a feature request?
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>I have a tiny question? Sometimes I would like to add an empty line – for example after a table or a figure. Is there a way to do this in Markdown so that the plugin understands?
Until now I do this with
— is there a Markdown way to do the same?
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>When I try and save my custom css inside the Custom CSS editor, Markdown on Save Improved adds paragraphs tags.
It results in a css file that looks like this:
<p>/*
Welcome to Custom CSS!</p>
<p>CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.</p>
<p>By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
<em>/
/</em> Generic changes meant to effect the entire site. */
ul {
list-style-type: circle;
}</p>
<p>/* Changes to the nav bar */
.current_page_item a {
color: #ff9c10;
}</p>
<p>.current_page_item a:hover {
color: #ff8c00;
}</p>
Obviously, this won’t run. What can I do to resolve this issue?
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>I’m trying to input a table using he Markdown Extra syntax and it doesn’t seem to be working. It seems as if it’s not being parsed.
I’m using the latest version of MoSI.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>The version it’s “Compatible up to” only lists 3.3.2, but the plugin was last updatd on 19 Jan 2013.
https://www.ads-software.com/extend/plugins/markdown-on-save-improved/
]]>