Commit Graph

20 Commits

Author SHA1 Message Date
Michael Teichgräber 325ec6c40d fix footnote formatting 2014-07-31 01:39:15 +02:00
Michael Teichgräber 13604f76a7 New extension: strike through with two tildes [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/7cc5b73
2013-06-11 01:51:23 +02:00
Michael Teichgräber f3d02c6662 Only obfuscate ascii characters. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/9ff58c2
2013-01-23 22:46:38 +01:00
Michael Teichgräber 4626c2b169 gofmt 2013-01-23 21:51:00 +01:00
Michael Teichgräber 38ff54e038 output.go: make the Formatter reusable 2012-09-01 00:25:33 +02:00
Michael Teichgräber 71df3d7aa2 output.go: move padding stuff to a new type baseWriter 2012-09-01 00:14:27 +02:00
Michael Teichgräber 437afafa74 output.go: slightly rearrange padding, add br() and sp() methods 2012-08-09 20:36:43 +02:00
Michael Teichgräber 1bbd55c017 cosmetics 2012-04-30 00:58:06 +02:00
Michael Teichgräber f721084df0 new API: p := NewParser(&opts), p.Markdown(r, f) replaces d := Parse(r, opts), d.WriteHtml(w)
The new api allows to create a parser instance that can be
reused between calls to Markdown. Also, an interface `Formatter'
replaces the tight coupling between former Doc type and HTML
generation.
2012-04-28 22:57:55 +02:00
Michael Teichgräber 318858ce0a output.go: move some code into methods 2012-04-26 21:35:18 +02:00
Michael Teichgräber 4d8d5a00f4 output: str: fix rand.Intn call 2012-04-26 21:23:45 +02:00
Michael Teichgräber 0b7aff8bd1 output.go: reduce verbosity of `obfuscate' feature 2012-04-26 20:39:43 +02:00
Michael Teichgräber ac729cbd2f use the `go' tool where possible
--HG--
rename : cmd/main.go => cmd/markdown/main.go
2012-04-20 13:35:31 +02:00
Michael Teichgräber d265ac0f21 sync with current Go (gofix go1rename, error) 2011-11-18 18:25:39 +01:00
Michael Teichgräber 7cfd682971 golang: log.Exitf->log.Fatalf 2011-02-18 12:00:25 +01:00
Michael Teichgräber 1d57ae66a5 support definition lists 2010-12-13 19:36:35 +01:00
Michael Teichgräber fa865c7dbc output.go: make htmlOut.str faster 2010-12-03 22:20:41 +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 7a083c5dae initial import 2010-11-21 23:04:39 +01:00