• Resolved keinos

    (@keinos)


    TL;DR

    Nested markdown list with ‘-‘ and number mixed doesn’t parse properly.

    TS;DR

    In order to use markdown, I switched using from WP-Markdown plugin to Jetpacks Markdown feature.

    I turned on the markdown feature at the Jetpack settings and it basically works.

    But I notice that, if the list is nested with ‘-‘(<ul>) and numbers(<ol>) it seems that it’s not working properly.

    For example:

    1. One
    – Uno
    – Ichi
    1. Two
    – Dos
    – Nii

    The markdown above Jetpack parses as below:

    1. One
    2. Uno
    3. Ichi
    4. Two
    5. Dos
    6. Nii

    And I believe that it has to parse some like below:

    1. One
    ・Uno
    ・Ichi
    2. Two
    ・Dos
    ・Nii

    Is it a specification limit or am I writing wrong?

    • This topic was modified 8 years, 1 month ago by keinos. Reason: code block didn't work
    • This topic was modified 8 years, 1 month ago by keinos. Reason: escape tags with inline code

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Tracy

    (@tmmbecker)

    @keinos It seems that Jetpack’s Markdown feature doesn’t work in the same way as WP Markdown. When nesting an unordered list inside an ordered list in WordPress core, you’ll see this same restart to the numbering.

    Jetpack’s Markdown module simply overlays markdown capabilities on top of WordPress core functionality, so this is expected behavior.

    If you’re able to nest and unordered list properly inside an ordered list with WP Markdown, then that would be a better option for you in this case.

    I hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Nested markdown list doesn’t work w/ Jetpack’ is closed to new replies.