Switch branches/tags
Nothing to show
Commits on Dec 7, 2011
  1. Fix for invalid tag syntax from previous commit

    jagregory committed Dec 7, 2011
    The previous commit broke some things with how tags work, so ignore
    the notes in that commit. Inline tags are now supported like so:
        #{markdown inline:true}...{/markdown}
    Updated the readme to reflect this.
  2. Add `markdownInline` extension and `#{markdown.inline}` tag

    jagregory committed Dec 7, 2011
    Moved the whitespace processing into the markdown processor itself,
    and created an "inline" option for single paragraph output.
            A single paragraph
    Both of those will not produce a paragraph tag; this is useful for if
    you're formatting the text which will always be a single paragraph (and
    want to use your own tags).
  3. Add ability to pass extension options directly to tags

    jagregory committed Dec 7, 2011
    You can now override your `application.conf` settings directly on
    individual tags. For example:
        #{markdown smartypants:true}
            This will be processed using SmartyPants.
  4. Fix for squashing lines together.

    jagregory committed Dec 7, 2011
    The new whitespace trimming wasn't correctly rejoining the lines,
    by leaving off the newline characters; this meant markdown squashed
    together the last and first words of new lines.
  5. Add whitespace trimming to the #{markdown} tag

    jagregory committed Dec 7, 2011
    This prevents the situation where any indented markdown blocks would
    always be rendered as code-blocks due to their initial indentation.
    By default all #{markdown} blocks (but not the extensions) will trim
    the minimal amount of whitespace necessary to dedent the input. To
    disable this feature you can pass the `preserveWhitespace:true` option
    to the tag.
    For example:
        #{markdown preserveWhitespace:true}
                This whitespace will be preserved.
Commits on Dec 6, 2011
  1. Initial commit

    jagregory committed Dec 6, 2011