Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 22, 2011
Commits on Sep 28, 2011
  1. @jbergstroem
Commits on Sep 12, 2011
Commits on Sep 2, 2011
  1. Enforce const on input document

Commits on Sep 1, 2011
  1. Create a standalone `markdown` object

    This was the next logical step on the interface revamp for 2.0.
    The old API was doing very fishy stuff with allocation: the `rndr`
    struct was being called once for every `sd_markdown` call, and the
    amount stack space filled with it was just inappropriate (256 bytes
    just from the char table and 300 more from pointers in the callback
    By creating the renderer on the heap and reusing it, we save a lot of
    time on initialization code, at the expense of not being able to
    change the enabled extensions on each parse (something which is not
    that common anyway).
    This will make wrapping Sundown in higher level languages more direct,
    given that every other language has OO design, which maps better to
    the concept of a reusable renderer.
Commits on Aug 4, 2011
  1. Experimental: New Renderer management

    No more dynamic allocation. Explicit is better than implicit.
Commits on Jul 24, 2011
Commits on Jul 23, 2011
  1. @mattsta

    Fix sdhtml_renderer call

    mattsta authored
    The previous commit changed the function signature
    without changing a call to the new function signature.
Commits on Jul 19, 2011
Commits on Jul 18, 2011
  1. Rename Upskirt to `Sundown`

    It is by the goodness of God that in our country we have those
    three unspeakably precious things:
        freedom of speech,
        freedom of conscience,
        and the prudence never to practice either of them.
                    -- Mark Twain, Following the Equator (1897)
Commits on Jun 1, 2011
  1. @kjk

    msvc fixes

    kjk authored committed
Commits on May 24, 2011
  1. Everybody's writing Go bindings!

Commits on May 22, 2011
Commits on May 16, 2011
  1. @jkoshy

    Fix an error message.

    jkoshy authored
Commits on May 6, 2011
  1. Upskirt now renders HTML by default

    The XHTML renderer has been changed to HTML by default, with a new
    renderer flag called "HTML_USE_XHTML" that enables closing tags.
Commits on May 5, 2011
  1. SmartyPants is now smart

    SmartyPants is no longer an extension flag for the (X)HTML renderer, but
    a separate method.
    The new function `ups_xhtml_smartypants` external method is a
    SmartyPants post-processor that takes an HTML document (e.g. a document
    that has just been rendered with `ups_markdown`) and performs
    SmartyPants substitutions in it.
    This is the same approach that the original SmartyPants takes.
    Postprocessing the HTML instead of performing the substitutions at the
    Markdown level allows us to work around many problems of the old
    	- Double quotes now properly open/close between different HTML
    	tags and blocks.
    	- Support for ``double quoting style'' has been added, and no
    	longer conflicts with Markdown code blocks.
    	- The limitations of the Upskirt parser (which was splitting
    	SmartyPants replacements mid-word in some cases because of active
    	character callbacks) no longer apply. All SmartyPants substitutions
    	work in all situations.
    	- The new parser is easily extendable with more substitutions.
    The new SmartyPants parser is slightly faster than the old one.
Commits on Apr 26, 2011
Commits on Apr 17, 2011
  1. Fix HTML tag detection

  2. Newline after line break

Commits on Apr 16, 2011
Commits on Apr 15, 2011
  1. Initial commit

Something went wrong with that request. Please try again.