Posting is written in Markdown, but on a fixed page, I write directly with HTML only.
However, in that case, only the <p> tag of the fixed page is deleted without permission. When this plug-in is stopped, it is displayed in the state before being deleted.
Please invalidate this plug-in on the fixed page, or tell me how to balance Markdown and HTML.
In WordPress, I write articles using Markdown notation using JP Markdown of the plugin.
In the fixed page, I write it by HTML rather than Markdown, but only posting the <p> tag disappears when posting an article.
With JP Markdown enabled, please write and post as follows.
`html
<div>
??<p>
????Sample sample Sample
????Sample sample Sample sample Sample
????Sample sample sample
??</ p>
</ div>
`
Then, only the <p> tag and </ p> tag disappears clearly in the source of the surface article page, as shown below.
`html
<div>
????Sample sample Sample
????Sample sample Sample sample Sample
????Sample sample sample
</ div>
`
Next, when switching the plug-in’s JP Markdown to the invalid state and transitioning to the article writing screen again, only the <p> tag and </ p> tag disappears clearly as shown below. Once you enable JP Markdown again, you will return to the <p> tagged state.
`html
<div>
????Sample sample Sample
????Sample sample Sample sample Sample
????Sample sample sample
</ div>
`
I was tried and error to disable automatic formatting because of the automatic shaping function of wpautop, but I can not solve it by any means. In the fixed page, it is impossible to do automatic formatting directly with HTML, in the contributed article only want to use the basic Markdown, occasionally want to use the article of HTML striking (occasionally Markdown only if it is impossible) is what I want to do.
If you understand something, please tell me it.
Thank you.
Hi,
I’ve installed the plugin on my localhost system (MAMP).
The settings url is https://localhost:8888/wptests/wp-admin/options-discussion.php#wpcom_publish_comments_with_markdown
I don’t see any option for posts and pages.
Heya. Thanks for the work here. I’d like to chip in with updates. Went through the codebase and I understand what and how you’re doing.
Do you have a git repository we can work with? SVN-only is just too much work for me.
]]>
>
> `html
> <script src=”//example.com/code.js”></script>
> `
>
The <script> became a real script element, not escaped. There are actually three backtick before the code block and three after.
]]>Code block works fine, but no highlight.
Do you have any plan to add this feature?
Or could you please suggest other highlight plug-in works fine with this?
Thank you to hear me.
]]>Thank you! This is great. I’ve got it working on my Custom Post Type by adding the following when I register the post type:
'supports' => array( 'wpcom-markdown' )
Any idea how I can extend functionality to Custom Fields in my post type?
]]>I transitioned a site to a new WordPress site and noticed that there are bunch of comments that have markdown in them, but that they are not in markdown (but rather in an unprocessed format ie *comment*).
How can I get all the old comments to be processed in Markdown to appear properly.
Website: https://www.thebookdesigner.com/
example post comments:
https://www.thebookdesigner.com/2013/10/where-can-i-legally-use-my-fonts/
https://www.thebookdesigner.com/2013/10/book-design-curriculum/
]]>Hey all!
When I created a table with JP Markdown, like below:
| header | header |
| :-: | :-: |
| cell | cell |
The cells output HTML as <td align=”center”>, which is not supported in HTML5 (they still align left).
I used Jekyll on another project and these cells outputed <td style=”text-align: center;”>, which worked great.
Do you know how to fix this issue so it works with HTML5?
Thank you so much!
]]>Error message appears while trying to activate. Something like: No valid headers.
]]>Thanks a lot for your work. I hope somebody will adopt this plugin as I like it so much – and I do not want anything from Jetpack…
]]>JP Markdown Plugin works great only the text editor has a toolbar for html instead of markdown. This is be a big problem for noobs. I can’t find a plugin to customize the bar. Anyone know how to do this or at the very least remove the toolbar all together so those editing won’t be tempted to use it.
]]>wp-cli post edit
deletes post_content_filtered
thus deleting the post’s markdown out of the database.
Obviously wp-cli can’t be calling JP Markdown’s actions/filters which do the clever post_content<->post_content_filtered swaps.
So is there a way around this?
]]>Hi, it would be nice to put up consistent update logs for us users to upgrade. Here are the two last update logs:
3.2.1
Update to 3.2.1
3.2
Update to 3.2
how useful ??
Thanks.
I’m a bit of a newbie to WP. What’s the recommended way to style JP Markdown tables? In page CSS? Or is there another tool, plugin or method?
Out-of-the-box table works but not very readable.
]]>Hello,
I installed your JP Markdown plugin and I like it.
I had a possibly buggy behavior.
1. I created a post using Markdown in the Text tab and saved it by clicking the Update button. I went to a different admin page. I came back to this post; the Markdown was displayed correctly.
2. I added Tags and then clicked the Update button. I went to a different admin page. I came back to this post; the HTML code was displayed, not the Markdown. I never clicked the Visual tab.
3. I had to go into Revisions to restore the previous revision to get the Markdown displayed again.
So saving Tags may have not save the postmeta._wpcom_is_markdown property for this revision’s id but I’m not sure. Is this something worth taking a look in easy-markdown.php?
Thanks.
]]>I can’t seem to use a shortcode while editing a markdown post. Is there any way to do this?
Thanks.
]]>According to normal markdown text like this
`
this is
some text
on multiple lines
`
should appear like
this is some text on multiple lines
but in Jp markdown that’s not what I’m seeing. Is there a way to make that work like normal markdown or have you considered adding a setting for it to work that way?
]]>When trying to use backslashes \
within code blocks, they seem to be consumed every time a post is explicitly saved. For example, the following Markdown sample is written before saving:
~~~bash
PS1='\\[\33[0m\\]Hello '
~~~
When previewing, the output is correct (PS1='\[33[0m\]Hello '
). However, after saving the post editor refreshes de text area with the content modified like this:
~~~bash
PS1='\[33[\m\]Hello '
~~~
Further saves will eat the backslashes once again, in particular, the will be replaced by ?.
Could you add support for Custom Posts?
https://codex.www.ads-software.com/Post_Types#Custom_Post_Types
]]>I just finished installing Jetpack Markdown on my site, and it doesn’t seem to be working on my posts. I’ve read where it automatically activates for posts, but not comments, yet I can’t help but think that I haven’t ticked a box somewhere!
I’m sure I set something wrong. Any idea what it could be?
Any help is greatly appreciated!
URL: https://www.thesuperlancer.com/
(The first post should have an H2, yet it doesn’t.)
<br />
<code></code><code></code>java
class MyIndex implements Supplier<Integer> {
int index = 0;
@Override
public void get() {
return index++;
}
}
<code></code>
renders as the following:
<br />
<pre class="wp-code-highlight prettyprint linenums:1"><code class="java"> class MyIndex implements Supplier<Integer> {<br />
int index = 0;<br />
@Override<br />
public int get() {<br />
return index++;<br />
}<br />
}<br />
which causes the <code class=’java’> to be displayed to the user which is undesirable.
I realize this is part of Markdown Extra, but is there anything I can do here? N.B. if I take off the triple quote java and closing triple quote characters and just leave the code indented by 4 spaces (ie normal Markdown), the only difference is the <code>
tag does not include the class
attribute.
** due to formatting problems here, please see this gist: https://gist.github.com/jeffbowman/5d96ad6a98576036bfea
]]>I’m running WordPress 3.9 with the Twenty Thirteen theme. I installed the JetPack Markdown plug-in but when I go to activate it I get the following error message:
Fatal error: Cannot redeclare jetpack_markdown_posting_always_on() (previously declared in /home/jacdav18/axzeo.com/wp-content/plugins/jetpack/modules/markdown.php:20) in?/home/jacdav18/axzeo.com/wp-content/plugins/jetpack-markdown/markdown.php?on line?38
The only other active plug-ins are Akismet, Hotfix, JetPack by WordPress.com, and WP Super Cache. Any ideas on what the problem might be with the jetpack Mardown plug-ing? Thanks, Jack
]]>I disabled visual editor and installed ‘Jetpack Markdown’ plugin for wordpress.
Also I installed ‘Auto SyntaxHighlighter’ for code highlighting.
However, there is a problem to deal with “#include <iostream>” or “template <typename T>”
1) cannot show code correctly
template <typename t=””>
2) extra tags in the end
you can check it here : https://blog.wjin.org/2014/04/test-7/
I am not sure whether it is due to ‘Jetpack Markdown’ plugin.
Thanks.
]]>Code inside code
is not escaped by any of the code escape plugins that I could find. I guess the code auto escape usually runs before the code blocks are parsed to HTML.
Same goes for Markdown on Save Improved plugin.
Any solutions to this?
Thanks ??
]]>Just to inform that the last version of MoS Improved givese the ability to make the posts compatible with the Markdown module of Jetpack. So, I suppose there is no more problem to move to Jetpack Markdown – except headers ?
]]>OK, we know that original Jetpack Markdown is from the guy who made https://www.ads-software.com/plugins/markdown-on-save-improved/
I suppose this plugin is based on the same concept – a Markdown version and a HTML version of content. But is it compatible with Markdown on Save Improved ? Will the Markdown content from MoS Improved usable in Jetpack Markdown ?
]]>That’s all it said.
]]>