Markdown tables and image captions broken after saving (3 posts)

  1. ondrej.synacek
    Posted 1 year ago #

    I imported a markdown post that has two, markdown-style tables inside. It processes very nicely but whenever I get back to that post and edit it and then save it again, the whole table becomes mess.

    The table becomes html table in wp editor, instead of markdown, which then treats indentations as code blocks. It is very very messy and inflexible.

    It is very strange because the second table is intact, unless I edit the post again which is then converted to html table as well.

    The same process also breaks image captions. Part of link reference is inserted into caption like this:

    ]7 this is caption


  2. Stephen Harris
    Plugin Author

    Posted 1 year ago #

    Tables will be supported in 1.5.1 (a patched version of 1.5, which was released and then withdrawn).

    There are issues with captions, you have to work around it. Unfortunately it's the price you have to pay of using shortcodes in markdown where square brackets already have a meaning. There's a relevant bug report about it here: https://github.com/stephenharris/WP-MarkDown/issues/21.

  3. ondrej.synacek
    Posted 1 year ago #

    Yes! Thank you for table support! I was really mad at previous versions for breaking up my tables.

    I will have a look at captions but it's really shame there's no easy way to implement them.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Markdown
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic