Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 2, 2008
  1. @rtomayko

    Fix extensions flags bit collision.

    rtomayko authored
    Setting EXT_FILTER_HTML was the same as setting
    (EXT_SMART | EXT_NOTES); setting EXT_FILTER_STYLES would
    also set EXT_NOTES.
    
    The switch to hex notation is purely to hint that the
    values are meant to be used as bit flags directly.
Commits on May 29, 2008
  1. @rtomayko

    add markdown_lib.c: markdown library-level functions

    rtomayko authored
    markdown_lib exports functions useful for use in libraries.  Right
    now there's only two: markdown_to_stream and markdown_to_string.
    These functions handle the parsing the input into a tree and
    generating the appropriate output.
    
    Also worth noting is bufopen.c: this is a light implementation of a
    stdio FILE stream on top of a character buffer. The bufopen function
    takes a pointer to a char pointer and returns a FILE pointer. When
    the FILE is closed, a pointer to the underlying buffer is set at the
    address provided when bufopen was called.
    
    bufopen is very similar to GNU's open_memstream function but
    requires only that the platform support funopen, which is
    non-standard but widely implemented (according to Google).
Something went wrong with that request. Please try again.