mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 17:56:34 +08:00
fbc18c5b85
We can't use json meta parser's remaining buffered data as the markdown body because it may not contain the entire original content. Now we adopt the way like toml and yaml parser's way to extract the meta content at first. Also when spilting the meta data and content body, additional io.Copy is unnecessary. Fix issue #355 Signed-off-by: Tw <tw19881113@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
generator.go | ||
markdown_test.go | ||
markdown.go | ||
metadata_test.go | ||
metadata.go | ||
page.go | ||
process.go | ||
renderer.go | ||
watcher_test.go | ||
watcher.go |