Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Markdown Extention for 1.0

Has anyone made a Markdown Extention yet?

Comments

  • MarkMark Vanilla Staff
    If you have an old one, you can pretty easily turn it into a new one by making a markdown folder, copying your markdown.php file from the old version into the folder and naming it default.php. Then go enable it and see if it works...

    I decided I wasn't going to support markdown anymore - but if someone else wants to make it and upload it to the add-on repository, that's cool. I just know that there are some buggy things about the php version of markdown that annoyed me.
  • edited July 2006
    I'll definitely use it. For one of my forums I'm having to support a non savvy user-base. Markdown is very simple and I think they'd rather that than bb-code or html. Was the bugginess something they would encounter if they just used simple formatting like bold, italic, and linking?
  • MarkMark Vanilla Staff
    I can't remember. Just use it and see, I guess.
  • I'm using the old Markdown extention on Vanilla 1 and so far it's working as expected. Give it a try!
  • It seems that none of my text modifying stuff is working. Is there a button I forgot to click or a permission I forgot to set? I've tried the old Markdown, the enhanced BBCode extention, and the HTML extention. Any idea's?
  • MarkMark Vanilla Staff
    No permissions, no. It should work fine as long as you've got the new versions of the extensions and they're installed properly.
  • what is markdown?
  • MarkMark Vanilla Staff
    edited July 2006
    http://daringfireball.net/projects/markdown/
  • blizeHblizeH ✭✭
    It's the same was what Wikipedia use I think, not sure if you've ever used it jeff, but it's pretty good.
  • I have disabled all my extentions and then enabled just the markdown extention. I get the following error: Notice: Use of undefined constant agFORMATSTRINGFORDISPLAY - assumed 'agFORMATSTRINGFORDISPLAY' in /homepages/44/d92618009/htdocs/chrispasseno/community/extensions/Markdown/default.php on line 28 Any idea's of what that is?
  • MarkMark Vanilla Staff
    edited July 2006
    Try doing a search replace on that string in the markdown/default.php file.
    Replace agFORMATSTRINGFORDISPLAY with FORMAT_STRING_FOR_DISPLAY
  • MarkMark Vanilla Staff
    doh! Nice one, a_magical_me :)
  • Thanks! I even fixed a couple bugs that used to plague that extension. (Namely, < signs being escaped twice in code blocks, and direct-style <http://whatever.com> urls not working)
  • Thanks pal
  • You're welcome!
  • Note to self: When you install a text formatter, make sure that you click the option in the Account -> Forum Preferences -> Show the comment format type selector when adding comments. I feel like an idiot.
  • a_magical_me, Thanks for this. Was wondering if the Markdown extension could be updated with the latest version of PHP Markdown 1.0.1e (or PHP Markdown 1.1.1): http://www.michelf.com/projects/php-markdown/
  • This would be nice :)
  • There's a new one, huh? Shouldn't be too hard...
This discussion has been closed.