Permalink
Browse files

Acknowledge Fletcher Penney for ODF code.

  • Loading branch information...
1 parent 5208ed9 commit 76a07552f9eabaadd46b8487c58741286f9a23db @jgm committed Apr 4, 2011
Showing with 13 additions and 6 deletions.
  1. +2 −1 LICENSE
  2. +11 −5 README.markdown
View
@@ -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.
View
@@ -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.
+

0 comments on commit 76a0755

Please sign in to comment.