Commit Graph

21 Commits

Author SHA1 Message Date
Michael Teichgräber
b3f7b37771 update README 2010-12-13 20:48:33 +01:00
Michael Teichgräber
54f4f31312 add parser.leg.go to help goinstall build the project 2010-12-13 19:44:11 +01:00
Michael Teichgräber
1d57ae66a5 support definition lists 2010-12-13 19:36:35 +01:00
Michael Teichgräber
62502ab7a8 parser.leg: AtxStart: do a quick lookahead for `#' 2010-12-13 18:14:10 +01:00
Michael Teichgräber
13d48d799e parser.leg: HtmlBlock: do a lookahead for `<' 2010-12-13 18:02:24 +01:00
Michael Teichgräber
61becb6c37 parser.leg: mk_element: preallocate slices of elements 2010-12-13 17:49:24 +01:00
Michael Teichgräber
a77ab2f820 Makefile: add target `update-peg' 2010-12-03 23:27:21 +01:00
Michael Teichgräber
fa865c7dbc output.go: make htmlOut.str faster 2010-12-03 22:20:41 +01:00
Michael Teichgräber
e40db066f3 parser.leg: scan for setext pattern before parsing Inlines (from jgm/peg-markdown) 2010-12-01 22:48:40 +01:00
Michael Teichgräber
a6edc52d48 add README.markdown, rm README.peg-markdown 2010-12-01 22:29:50 +01:00
Michael Teichgräber
e54246e086 Makefile: build leg using GOHOSTOS and GOHOSTARCH 2010-12-01 19:59:53 +01:00
Michael Teichgräber
f91ece3c6b adjust Makefiles for github.com 2010-12-01 19:40:56 +01:00
Michael Teichgräber
722e122c88 processRawBlocks: cope with empty lists 2010-11-25 14:33:36 +01:00
Michael Teichgräber
c5747337a9 replace extension flags by Extension, a struct of boolean values 2010-11-24 19:56:25 +01:00
Michael Teichgräber
071bf92c4f use a single yyParser instance only, and reuse initialized parser 2010-11-24 19:36:10 +01:00
Michael Teichgräber
221075269e output.go:elem:H1..6: avoid fmt.Sprintf 2010-11-24 19:28:47 +01:00
Michael Teichgräber
e96ca46419 output.go: don't pad() for endnotes if there are none 2010-11-24 19:17:50 +01:00
Michael Teichgräber
42e0bf557e processRawBlocks: simplify appending of lists 2010-11-24 18:59:08 +01:00
Michael Teichgräber
4995379a8e preformat: use bytes.Buffer instead of concatenating strings 2010-11-24 18:54:12 +01:00
Michael Teichgräber
67459a2e6a Makefile: hg clone peg if it is not present 2010-11-22 23:18:23 +01:00
Michael Teichgräber
7a083c5dae initial import 2010-11-21 23:04:39 +01:00