From 76a07552f9eabaadd46b8487c58741286f9a23db Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 3 Apr 2011 18:19:16 -0700 Subject: [PATCH] Acknowledge Fletcher Penney for ODF code. --- LICENSE | 3 ++- README.markdown | 16 +++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 3f30ab38..87825298 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ markdown in c, implemented using PEG grammar -Copyright (c) 2008 John MacFarlane +Copyright (c) 2008-2011 John MacFarlane +ODF output code (c) 2011 Fletcher T. Penney peg-markdown is released under both the GPL and MIT licenses. You may pick the license that best fits your needs. diff --git a/README.markdown b/README.markdown index d61cdc39..bcb61684 100644 --- a/README.markdown +++ b/README.markdown @@ -4,8 +4,8 @@ What is this? This is an implementation of John Gruber's [markdown][] in C. It uses a [parsing expression grammar (PEG)][] to define the syntax. This should allow easy modification and extension. It currently supports output in -HTML, LaTeX, or groff_mm formats, and adding new formats is relatively -easy. +HTML, LaTeX, ODF, or groff_mm formats, and adding new formats is +relatively easy. [parsing expression grammar (PEG)]: http://en.wikipedia.org/wiki/Parsing_expression_grammar [markdown]: http://daringfireball.net/projects/markdown/ @@ -170,15 +170,16 @@ bitwise `&` operator and the following constants: [Pandoc's footnote syntax]: http://johnmacfarlane.net/pandoc/README.html#footnotes -`output_format` is either `HTML_FORMAT`, `LATEX_FORMAT`, or `GROFF_MM_FORMAT`. +`output_format` is either `HTML_FORMAT`, `LATEX_FORMAT`, `ODF_FORMAT`, +or `GROFF_MM_FORMAT`. To use the library, include `markdown_lib.h`. See `markdown.c` for an example. Hacking ======= -It should be pretty easy to modify the program to produce other formats -than HTML or LaTeX, and to parse syntax extensions. A quick guide: +It should be pretty easy to modify the program to produce other formats, +and to parse syntax extensions. A quick guide: * `markdown_parser.leg` contains the grammar itself. @@ -212,3 +213,8 @@ than HTML or LaTeX, and to parse syntax extensions. A quick guide: they cause problems with non-ascii input. Instead, use: `( !'a' !'b' !'c' . )` +Acknowledgements +================ + +Support for ODF output was added by Fletcher T. Penney. +