Issue #1 resolved

Consider adding dynamic encoding methods for markdown

jonas.nordstrand
created an issue

Comments (3)

  1. tednaleid repo owner
    • changed status to open

    That's a good idea and it should be pretty easy to implement.

    I'm assuming you're thinking of an "encodeAsMarkdownHtml" (or maybe just "encodeAsHtml" that will take a string and pass it through the markdown processor and return the HTML version of it).

    Thanks for the suggestion.

  2. jonas.nordstrand reporter

    Yep, that would be a nice one to have! :-) I've done it myself for textile (using a jar from the mylin wikitext project), but it appears as markdown has more momentum going for it than textile has for the moment.

  3. tednaleid repo owner

    I just got a patch from another user that added a markdownToHtml method to the string class (I just released the 0.2 version of the plugin with this).

    I've looked a little bit at the encoding stuff in grails and it feels a little clunky. I think the method added to string gives the same functionality and is a little more straightforward in it's implementation. I'm going to close this issue with the addition of that functionality.

    If there's some additional use that the encoding stuff gives that I'm missing, feel free to reopen, but I think the basic requested functionality is covered.

  4. Log in to comment