Skip to content
My C implementation of John Gruber's Markdown markup language
C Groff Perl6 C++ Makefile Shell Perl
Latest commit d479aba Apr 24, 2016 @Orc Merge pull request #148 from Debian/tabs_in_test
Remove tabs from test cases to make them work
Failed to load latest commit information.
Plan9 Convert --with-dl to runtime flags for issue #124. Jul 13, 2015
tests Remove tabs from test cases to make them work Apr 24, 2016
tools include `stdlib.h` to make gcc stfu about `exit()` Feb 18, 2011
COPYRIGHT Left out the list # for the third clause! Mar 16, 2013
CREDITS change domain from pell.chi.il.us to pell.portland.or.us Jan 8, 2014
Csio.c Add $LFLAGS to the build line for theme Jan 19, 2012
INSTALL Strip out references to 'relaxed-emphasis' configuration (it's not us… Feb 5, 2015
Makefile.in Add some missing dependencies to the makefile Apr 24, 2016
README change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
VERSION Creaking up to version 2.2 Jul 16, 2015
amalloc.c Add config.h to the includes for amalloc (for the if #define to make … Mar 22, 2016
amalloc.h 1. Add the new `amalloc` module, which (if enabled with Apr 3, 2008
basename.c Reversed the test for basenames() [ick] Jan 29, 2010
configure.inc Take out a long-standing bogus 'AC' command (just AC, not AC_{anything}) Feb 3, 2016
configure.sh Strip out --enable-all-features from configure.sh Apr 15, 2016
css.c Handle error conditions and pass errorcodes out of various mkd_xxx ou… Oct 26, 2015
cstring.h Rework the internals of CLIP() so that it always assigns something to… Jan 24, 2012
docheader.c Redo the internals for pandoc-style headers; don't just carry Dec 9, 2010
dumptree.c handle cleanup from the caller Oct 25, 2015
emmatch.c s/compatable/compatible/ Oct 20, 2013
flags.c Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
generate.c Tweak the initial check for $$ .. $$ latex escapes Feb 21, 2016
github_flavoured.c Create the `gfm_string()` method that does github flavoured markdown May 31, 2012
html5.c Optimize the html block tag list handler; standard html tags now live… Jul 22, 2011
main.c handle cleanup from the caller Oct 25, 2015
makepage.1 change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
makepage.c I was using the wrong argument for the file to make a page from. Apr 24, 2016
markdown.1 Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
markdown.3 Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
markdown.7 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr Feb 16, 2010
markdown.c Continuing with the horrible comment block kludgery :-( Feb 13, 2016
markdown.h Handle error conditions and pass errorcodes out of various mkd_xxx ou… Oct 26, 2015
mkd-callbacks.3 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr Feb 17, 2010
mkd-extensions.7 Strip out references to 'relaxed-emphasis' configuration (it's not us… Feb 5, 2015
mkd-functions.3 Documentation patches from David Banks; correct the documentation to … Feb 28, 2011
mkd-line.3 1. Attempt to update the documentation for the new functions. May 12, 2009
mkd2html.1 change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
mkd2html.c Revert changes that somehow worked their way into the code (patch Jan 22, 2014
mkdio.c 1) messed up the fwrite() error check in mkd_generatehtml, Oct 26, 2015
mkdio.h.in Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
mktags.c `<br>` is not a block-level html element Jan 16, 2012
pgm_options.c Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
pgm_options.h Change makepage so that I can feed it options May 23, 2011
resource.c FINALLY address the bug where m-e footnotes lose numbering when Jan 18, 2015
setup.c Optimize the html block tag list handler; standard html tags now live… Jul 22, 2011
tags.c check to see if S(extratags) before EXPAND(extratags) Aug 5, 2013
tags.h Add a prototype for mkd_deallocate_tags() Jan 2, 2011
theme.1 change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
theme.c Check for the existance of alloca (for theme) and whether it requires… Oct 30, 2015
toc.c Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
version.c.in Add "LATEX" to the version string if build with latex Feb 19, 2016
xml.c Handle error conditions and pass errorcodes out of various mkd_xxx ou… Oct 26, 2015
xmlpage.c 1) messed up the fwrite() error check in mkd_generatehtml, Oct 26, 2015

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.