Commit Graph

129 Commits

Author SHA1 Message Date
Michael Teichgräber
9a0423b225 Allow Atx header like this: '# header#'. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/7512333
2011-02-21 02:53:09 +01:00
Michael Teichgräber
47a94780b8 Fixed Alphanumeric. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/5b0bd3d
2011-02-21 02:48:43 +01:00
Michael Teichgräber
d8bbdbe0ff Fixed \178 -> \200. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/eb286be
2011-02-21 02:47:24 +01:00
Michael Teichgräber
b9766af7aa Fixed bug in ![nonexistent]. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/cc1be41
2011-02-21 02:46:27 +01:00
Michael Teichgräber
43c0e8660d Changed a &NonAlphanumeric to a !Alphanumeric. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/c5a32d2
2011-02-21 02:39:40 +01:00
Michael Teichgräber
916983bf94 Fixed smart quotes with accented letters. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/aa75ac6
2011-02-21 02:37:19 +01:00
Michael Teichgräber
7cfd682971 golang: log.Exitf->log.Fatalf 2011-02-18 12:00:25 +01:00
Michael Teichgräber
ef9d2c6af6 sync with peg-markdown
See https://github.com/jgm/peg-markdown/commit/a4713d59
2011-01-07 18:40:39 +01:00
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