WordPress.org

Ready to get started?Download WordPress

Forums

Markdown (11 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    With the exception of the most basic markdown syntax (i.e., *emphasis*), the Markdown plugin doesn't seem to be working at all. I'm using WP 1.2.

  2. sunshine
    Member
    Posted 9 years ago #

    Markdown is a Perl program.
    Unless you're referring to Textile or the built-in Texturize:?
    "WordPress uses the Texturize engine to intelligently convert plain ASCII into typographically correct XHTML entities. This includes quotes, apostrophes, ellipses, em and en dashes, multiplication symbols, and ampersands."

  3. marky
    Member
    Posted 9 years ago #

    No, it's definitely Markdown (either that or I'm imaginging things ;-). It's been converted to PHP, made into a WP plugin, and is included with WP 1.2. But it's not working; not for me, anyway. Has anyone got it to perform as expected?

  4. marky
    Member
    Posted 9 years ago #

    I hate to bump this, but does anyone have some information on this issue? That is--has anyone been successfully using the Markdown plugin, or have I configured something incorrectly?

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Markdown works fine* for me in 1.2 beta from April 29; I'll upgrade to RC1 in a minute and see if it breaks.
    (* I tested bold, italic, links, blockquote, unordered list, and a bunch of headings, and they worked. The code block didn't, but I probably didn't get the syntax right.)
    Only problem is that trackbacks sent from Markdown posts are sending the raw text, with line breaks as "rn".

  6. sunshine
    Member
    Posted 9 years ago #

    Ah, okay, sorry. :)

  7. Anonymous
    Unregistered
    Posted 9 years ago #

    Me again, Markdown is working fine in 1.2RC1, and the rn thing is fixed. Joy! :)

  8. sunshine
    Member
    Posted 9 years ago #

    Mm, now I can join in the fun. ;)
    When I try and post PHP code (using the pre-code format -- indenting at least 4 from the main text and using a semi-colon at the end of the prev. paragraph), it keeps adding in a space between the opening < and the ?.
    The code does otherwise indent properly, so this is just a minor annoyance. :)
    And yes, I have both Textiles off.

  9. mikelu
    Member
    Posted 9 years ago #

    You can add a priority tag in add_filter('the_content', 'Markdown', 6) so that markdown will be used prior to wptexturize.
    I think most of the problems were caused by wptexturize() translating characters that were to be used in markdown().

  10. Zarniwoop
    Member
    Posted 9 years ago #

    Thx,
    the priority-trick helped me to get it to work within normal parameters.
    Why doesn't the plugin have this by default?

  11. sunshine
    Member
    Posted 9 years ago #

    I tried that (a 6) but it caused my smilies to stop working?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.