Skip to content
My C implementation of John Gruber's Markdown markup language http://www.pell.portland.or.us/~orc/Code/discount
C Groff Perl6 C++ Shell Perl
Latest commit 2ef494c david parsons Take out a long-standing bogus 'AC' command (just AC, not AC_{anything})
from the macos librarian generator
Failed to load latest commit information.
Plan9 Convert --with-dl to runtime flags for issue #124.
tests Add a test case for `<p></>*`
tools include `stdlib.h` to make gcc stfu about `exit()`
COPYRIGHT Left out the list # for the third clause!
CREDITS change domain from pell.chi.il.us to pell.portland.or.us
Csio.c Add $LFLAGS to the build line for theme
INSTALL Strip out references to 'relaxed-emphasis' configuration (it's not us…
Makefile.in Fix makefile distclean to cleanup all the generated files and correct…
README change domain from pell.chi.il.us to pell.portland.or.us
VERSION Creaking up to version 2.2
amalloc.c More work on markdown extra-style definition lists
amalloc.h 1. Add the new `amalloc` module, which (if enabled with
basename.c Reversed the test for basenames() [ick]
configure.inc Take out a long-standing bogus 'AC' command (just AC, not AC_{anything})
configure.sh Check for the existance of alloca (for theme) and whether it requires…
css.c Handle error conditions and pass errorcodes out of various mkd_xxx ou…
cstring.h Rework the internals of CLIP() so that it always assigns something to…
docheader.c Redo the internals for pandoc-style headers; don't just carry
dumptree.c handle cleanup from the caller
emmatch.c s/compatable/compatible/
flags.c Convert urlencodedanchor to a runtime flag for issue #124.
generate.c When processing automatic links, explicitly allow extended utf-8 char…
github_flavoured.c Create the `gfm_string()` method that does github flavoured markdown
html5.c Optimize the html block tag list handler; standard html tags now live…
main.c handle cleanup from the caller
makepage.1 change domain from pell.chi.il.us to pell.portland.or.us
makepage.c 1) messed up the fwrite() error check in mkd_generatehtml,
markdown.1 Convert urlencodedanchor to a runtime flag for issue #124.
markdown.3 Convert urlencodedanchor to a runtime flag for issue #124.
markdown.7 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr
markdown.c When attempting to match the closing tag of an html block, don't
markdown.h Handle error conditions and pass errorcodes out of various mkd_xxx ou…
mkd-callbacks.3 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr
mkd-extensions.7 Strip out references to 'relaxed-emphasis' configuration (it's not us…
mkd-functions.3 Documentation patches from David Banks; correct the documentation to …
mkd-line.3 1. Attempt to update the documentation for the new functions.
mkd2html.1 change domain from pell.chi.il.us to pell.portland.or.us
mkd2html.c Revert changes that somehow worked their way into the code (patch
mkdio.c 1) messed up the fwrite() error check in mkd_generatehtml,
mkdio.h.in Convert urlencodedanchor to a runtime flag for issue #124.
mktags.c `<br>` is not a block-level html element
pgm_options.c Convert urlencodedanchor to a runtime flag for issue #124.
pgm_options.h Change makepage so that I can feed it options
resource.c FINALLY address the bug where m-e footnotes lose numbering when
setup.c Optimize the html block tag list handler; standard html tags now live…
tags.c check to see if S(extratags) before EXPAND(extratags)
tags.h Add a prototype for mkd_deallocate_tags()
theme.1 change domain from pell.chi.il.us to pell.portland.or.us
theme.c Check for the existance of alloca (for theme) and whether it requires…
toc.c Convert urlencodedanchor to a runtime flag for issue #124.
version.c.in Make githubtags configurable at runtime for issue #124.
xml.c Handle error conditions and pass errorcodes out of various mkd_xxx ou…
xmlpage.c 1) messed up the fwrite() error check in mkd_generatehtml,

README

DISCOUNT is a implementation of John Gruber's Markdown markup
language.   It implements, as far as I can tell, all of the
language as described in
<http://daringfireball.net/projects/markdown/syntax>
and passes the Markdown test suite at
<http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip>

DISCOUNT is free software written by David Parsons <orc@pell.portland.or.us>;
it is released under a BSD-style license that allows you to do
as you wish with it as long as you don't attempt to claim it as
your own work.

Most of the programs included in the DISCOUNT distribution have
manual pages describing how they work.

The file INSTALL describes how to build and install discount
Something went wrong with that request. Please try again.