hugo/markup/goldmark
Bjørn Erik Pedersen 271318ad78 Split parse and render for Goldmark
This also speeds up situations where you only need the fragments/toc and not the rendered content, e.g. Related
with fragments type indexing:

```bash

name            old time/op    new time/op    delta
RelatedSite-10    12.3ms ± 2%    10.7ms ± 1%  -12.95%  (p=0.029 n=4+4)

name            old alloc/op   new alloc/op   delta
RelatedSite-10    38.6MB ± 0%    38.2MB ± 0%   -1.08%  (p=0.029 n=4+4)

name            old allocs/op  new allocs/op  delta
RelatedSite-10      117k ± 0%      115k ± 0%   -1.36%  (p=0.029 n=4+4)
```

Fixes #10750
2023-02-24 10:40:06 +01:00
..
codeblocks tpl/internal: Sync Go template src to Go 1.20 2023-02-22 11:26:52 +01:00
goldmark_config markup/goldmark: Add removeSurroundingParagraph for Markdown images 2022-12-05 15:00:47 +01:00
images markup/goldmark: Add removeSurroundingParagraph for Markdown images 2022-12-05 15:00:47 +01:00
internal markup/goldmark: Fix attribute nilpointer 2022-04-27 23:53:56 +02:00
links markup/goldmark: Add removeSurroundingParagraph for Markdown images 2022-12-05 15:00:47 +01:00
autoid.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
autoid_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
convert.go Split parse and render for Goldmark 2023-02-24 10:40:06 +01:00
convert_test.go Split parse and render for Goldmark 2023-02-24 10:40:06 +01:00
integration_test.go markup/goldmark: Improve benchmark 2022-11-24 12:04:44 +01:00
render_hooks.go markup/goldmark: Add removeSurroundingParagraph for Markdown images 2022-12-05 15:00:47 +01:00
toc.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
toc_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00