Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My C implementation of John Gruber's Markdown markup language

This branch is 286 commits behind Orc:master

Support new HTML5 block-level elements.

The new HTML5 block-level elements are described at http://diveintohtml5.org/semantics.html.  This patch gives them treatment just like <table> or <div> when they appear within a markdown document.
latest commit 3f9f5c337c
Richard Crowley authored
Failed to load latest commit information.
Plan9
tests Add the pseudo-protocol `lang', which generates a
tools
COPYRIGHT Boundary condition error with ``...''.
CREDITS
Csio.c
INSTALL Revert "Up to version 1.2.8 ( --relaxed-emphasis, atx header pruning,…
Makefile.in
README Revert "Up to version 1.2.8 ( --relaxed-emphasis, atx header pruning,…
VERSION don't describe `<style>` blocks as `mystery node` during `markdown -d`
amalloc.c
amalloc.h
basename.c Reversed the test for basenames() [ick]
configure.inc
configure.sh
css.c In `theme.c` and `xmlpage.c`, use `mkd_generatecss()` instead
cstring.h
docheader.c 1. Add the new `amalloc` module, which (if enabled with
dumptree.c don't describe `<style>` blocks as `mystery node` during `markdown -d`
emmatch.c
generate.c
main.c
makepage.c
markdown.1.in Document the notables flag
markdown.3
markdown.7 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr
markdown.c
markdown.h
mkd-callbacks.3 Write the first (clumsy) pass at a mkd-callbacks manpage, and .Xr
mkd-extensions.7
mkd-functions.3
mkd-line.3
mkd2html.c
mkdio.c Mixup for the function name to write to the context data field
mkdio.h
resource.c
theme.1 Write a manpage for theme(1)
theme.c Tweak the `fdate()` function so that it takes the document date,
toc.c
version.c.in
xml.c Change the function type for generatexml from void to int
xmlpage.c

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.chi.il.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.