mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05: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.go | ||
markdown_test.go | ||
metadata.go | ||
metadata_test.go | ||
page.go | ||
process.go | ||
renderer.go | ||
watcher.go | ||
watcher_test.go |