WordPress.org

Ready to get started?Download WordPress

Forums

Markdown on Save Improved
Subscript? (4 posts)

  1. Sam
    Member
    Posted 2 years ago #

    Hello. I'm using version 2.2 of Markdown on Save Improved on WordPress 3.3.1 and it appears to work correctly for all of the usual Markdown syntax that I've tried but I can't seem to get superscript to work using anything along the lines of ^1 or ^1^ or even footnotes like [^1] and so on. If I understand correctly this feature is part of PHP Markdown Extra, so I'm not sure if this is an issue with the plugin or I'm simply mistaken about it being part of PHP Markdown Extra.

    To try to suss out the issue, I disabled Markdown on Save Improved and installed PHP Markdown Extra as a WordPress plugin and even that didn't parse the superscript syntax correctly, so I'm assuming I'm just mistaken in my understanding that PHP Markdown Extra supports superscripts.

    Any guidance would be greatly appreciated. Thanks.

    http://wordpress.org/extend/plugins/markdown-on-save-improved/

  2. Matt Wiebe
    Member
    Plugin Author

    Posted 2 years ago #

    A glance at the Markdown Extra syntax doesn't show any signs of sub/superscript. Footnotes, however, work in my own experience - they're half the reason I made this plugin.

    For future reference, there's only a bug on my end if the results differ from the dingus.

  3. Sam
    Member
    Posted 2 years ago #

    Ah, I had a feeling it was just my misunderstanding. I'll have to sort out some other solution for superscripts and such. Thanks for the help and thanks for the plugin!

  4. Aahan Krish
    Member
    Posted 2 years ago #

    @Sam : Using Markdown doesn't mean you have to completely avoid HTML. Using basic HTML tags like <b>, <i>, <del>, <strike>, <dd>, <dl>, <dt>, <kbd>, <s>, <sup>, and <sub> which aren't supported by Markdown Syntax, IS NOT a bad practice.

    In fact, I remember reading that it's fine to do so, in the official Markdown documentation itself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic