Questions on the Markdown module
-
Hi!
I have some questions/suggestions for the Markdown module inside Jetpack. I couldn’t find exact answers in the documentation on Jetpack.com, so hope you dont mind I ask them here:
Using the module with the classic editor:
The documentation states that the classic editor will show Markdown syntax when the HTML/text tab is shown.
How will the content be stored if Jetpack gets removed or the Markdown module is deactivated; Will the content stay in Markdown or is it saved as HTML in the database?Markdown block in the Gutenberg editor
This block seems very intresting. I read about this in the documentation and that got the following questions while I thought of cases where I could use it:
1. How will Markdown be stored if Jetpack or the Markdown module is deactivated?
2. Would it be possible to convert regular blocks into markdown formatting? That would help some users who want to go all-in on Markdown but have used HTML or a more visual style while composing content to see and use Markdown.
I have seen an abandoned plugin that converted all posts and pages to Markdown and stored the contents as HTML in the database. That made editing even old content super easy and focus was at the content not on coding or HTML.
3. When writing in the code editor while having the Gutenberg editor active I see that Markdown can be typed directly into this edit field. How is this different than if I used the classic editor? Will this functionality still exist if the classic editor is unsupported at some point? Does this way of using Markdown rely on the block Markdown parser or the MardownPHPXtra parser that was previously used?4. Is the following case a feature or a bug?
I tried to write some Markdown and clicked on the options and clicked on copy all content.
When I pasted the copied content into my text editor of choice I saw something I didn’t expect:
I saw both intern WP-coding, then my Markdown and lastly the result of my Markdown as HTML.I have pasted a sample where I just wrote a few paragraphs and very basic formatting to illustrate what I see.
I just expected the Markdown to be copied. Can I do this another way without using the mouse but still get all content copied as Markdown only?Thanks in advance for your reply.
Best regards Thomas
Sample text
<!– wp:jetpack/markdown {“source”:”This post is just a sample post.\n\n## Why this post?\n\nThis post shows how the [Jetpack plugin](https://jetpack.com) displays Markdown when it is copied via the \u0022copy all\u0022 option using the **Gutenberg editor**\n\nThanks for reading.\n\nThomas”} –>
<div class=”wp-block-jetpack-markdown”><p>This post is just a sample post.</p>
<h2>Why this post?</h2>
<p>This post shows how the Jetpack plugin displays Markdown when it is copied via the "copy all" option using the Gutenberg editor</p>
<p>Thanks for reading.</p>
<p>Thomas</p>
</div>
<!– /wp:jetpack/markdown –>`
`
- The topic ‘Questions on the Markdown module’ is closed to new replies.