My C implementation of John Gruber's Markdown markup language
C Roff Perl 6 C++ Makefile Shell Other
Permalink
Failed to load latest commit information.
Plan9 Convert --with-dl to runtime flags for issue #124. Jul 13, 2015
cmake Improve CMake project Dec 13, 2017
msvc Hand-resolve a conflict in the msvc Makefile Mar 25, 2017
tests to b3 Jun 16, 2018
tools check for git & have branch be a no-op if it doesn't exist on this sy… Feb 27, 2018
COPYRIGHT Left out the list # for the third clause! Mar 17, 2013
CREDITS change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
Csio.c In Csreparse, pass our flags down to ___mkd_reparse Jan 1, 2017
INSTALL add --cxx-binding option to configure.sh to generate a mkdio.h that's… Mar 18, 2018
Makefile.in Tweak the install rule to install a GNU-style .pc file iff @MK_PKGCON… Aug 22, 2017
README whoops, misspelled Aaron's last name Jun 4, 2018
VERSION Version 2.2.4; also when doing github checkbox as input form disable … Aug 5, 2018
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 30, 2010
configure.inc on systems that support it, use the 'destructor' attribute on mkd_shl… Mar 18, 2018
configure.sh in configure.sh, --github-checkbox=input enables github checkboxes us… Apr 20, 2018
css.c Take out the T(x) hack from mkd_css() & mkd_xml() and instead Jan 22, 2017
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 take a pass at github checklist items Apr 18, 2018
emmatch.c s/compatable/compatible/ Oct 20, 2013
flags.c Add EXPLICITLIST to flags.c Mar 8, 2017
generate.c Version 2.2.4; also when doing github checkbox as input form disable … Aug 5, 2018
gethopt.3 try to deobfuscate the description Feb 8, 2017
gethopt.c always use memset instead of bzero Feb 28, 2018
gethopt.h Make a new function (hoptusage()) to fabricate an uptodate usage: ... Feb 3, 2017
github_flavoured.c generalize __mkd_header_dle() into __mkd_trim_line() [trim N characte… Mar 10, 2018
h1title.c Add --h1-title as an option to configure.sh; this enables code that uses Jan 24, 2017
html5.c Delete HGROUP Apr 15, 2018
libmarkdown.pc.in Added pkg-config file Jul 26, 2016
main.c take a pass at github checklist items Apr 18, 2018
makepage.1 change domain from pell.chi.il.us to pell.portland.or.us Jan 9, 2014
makepage.c Correct makepage & theme to use the new set_flag() return scheme (0==… Sep 25, 2017
markdown.1 Convert urlencodedanchor to a runtime flag for issue #124. Jul 13, 2015
markdown.3 Update the description of the MKD_TAGTEXT flag Jan 27, 2017
markdown.7 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr Feb 17, 2010
markdown.c when splitting a line, null terminate the new line; also don't inheri… May 26, 2018
markdown.h take a pass at github checklist items Apr 18, 2018
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 (the return from notspecial() was reversed) Feb 5, 2017
mkdio.c in __mkd_trim_line, shortcut a complete line clip by simply setting S… May 23, 2018
mkdio.h.in Add MKD_EXPLICITLIST to mkdio.h.in Mar 9, 2017
mktags.c include "config.h" (to pick up strncasecmp() if it's defined as a macro) Feb 2, 2017
notspecial.c typoed the #if for notspecial; did a couple check for HAS_ISSOCK inst… Feb 27, 2018
pgm_options.c if an unknown flag was in the middle of a comma-delimited flag Sep 25, 2017
pgm_options.h if an unknown flag was in the middle of a comma-delimited flag Sep 25, 2017
resource.c implement the m-e behavior of allowing full markdown inside m-e footn… Mar 10, 2018
setup.c on systems that support it, use the 'destructor' attribute on mkd_shl… Mar 18, 2018
tags.c include "config.h" (to pick up strncasecmp() if it's defined as a macro) Feb 2, 2017
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 Add missing `-t` flag for template file handling. Mar 9, 2018
toc.c take a pass at github checklist items Apr 18, 2018
version.c.in Version 2.2.4; also when doing github checkbox as input form disable … Aug 5, 2018
xml.c Take out the T(x) hack from mkd_css() & mkd_xml() and instead Jan 22, 2017
xmlpage.c put spurious braces around the DO_OR_DIE that puts out the contents o… Dec 27, 2016

README

DISCOUNT is a implementation of John Gruber & Aaron Swartz'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