Problem enabling the user to edit Markdown and displaying the HTML output (WMD Editor plugin for Wordpress)

wordpress.stackexchange https://wordpress.stackexchange.com/questions/11112

  •  16-10-2019
  •  | 
  •  

Pergunta

Here is the WMD Editor implementation for Wordpress.

When the users writes a post everything is displayed OK:

enter image description here

enter image description here

The problem is when the user clicks EDIT:

enter image description here

The HTML version is the one displayed (I think it is a normal behaviour since WMD Editor turned the Markdown version of the post into HTML). What are the steps to fix this? or IS there a new version which solves this? (I checked other questions but no one gives a concrete solution).

Foi útil?

Solução

that is the normal way for it to work, when you save it turns the markdown text to html, so when you edit you need to reverse the html back to markdown text.

there is an outdated plugin that has most of the functions you need it http://wordpress.org/extend/plugins/markdown-for-wordpress-and-bbpress/ that would be a good place to start.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a wordpress.stackexchange
scroll top