hugo/markup
Cameron Moore 14bce18a6c highlight: Avoid making unnecessary allocation
Avoid creating a local copy of the highlight configuration when no
options are passed.

Benchmarks of building the docs site:

name        old time/op    new time/op    delta
DocsSite-2     1.94s ± 4%     1.93s ± 4%    ~     (p=0.841 n=5+5)

name        old alloc/op   new alloc/op   delta
DocsSite-2     666MB ± 1%     656MB ± 0%  -1.48%  (p=0.008 n=5+5)

name        old allocs/op  new allocs/op  delta
DocsSite-2     8.85M ± 0%     8.76M ± 0%  -1.04%  (p=0.029 n=4+4)
2020-10-16 21:14:02 +02:00
..
asciidocext markup/asciidocext: Add preserveTOC option 2020-09-17 10:50:25 +02:00
blackfriday markup/goldmark: Add an optional Blackfriday auto ID strategy 2020-01-05 11:56:05 +01:00
converter Fixed misspelled words 2020-08-20 22:34:35 +02:00
goldmark deps: Update to Goldmark v1.2.1 2020-09-11 07:49:35 +02:00
highlight highlight: Avoid making unnecessary allocation 2020-10-16 21:14:02 +02:00
internal Add Goldmark as the new default markdown handler 2019-11-23 14:12:24 +01:00
markup_config Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00
mmark Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
org deps: Update go-org to v1.2.0 2020-06-27 13:28:01 +02:00
pandoc Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
rst Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
tableofcontents markup/asciidocext: Fix AsciiDoc TOC with code 2020-09-10 21:53:13 +02:00
markup.go Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00
markup_test.go Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00