WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ondrej.synacek
    Member
    Posted 5 months 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

    https://wordpress.org/plugins/wp-markdown/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 3 months 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
    Member
    Posted 2 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic