aboutsummaryrefslogtreecommitdiff
path: root/go.sum
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2023-12-01 12:01:20 -0500
committerMichael Matloob <matloob@golang.org>2023-12-06 20:55:46 +0000
commit691780b416aea390189b178fab383f45ba24e7ce (patch)
treed6c4c0441421ddbbe5f831e1fca84bbd6d2264b0 /go.sum
parent47bf8d768e9d1689731bb05168b24d7b952efe56 (diff)
downloadgo-x-pkgsite-691780b416aea390189b178fab383f45ba24e7ce.tar.xz
internal/frontend: write version of ProcessReadme with rsc.io/markdown
This change adds a version of ProcessReadme that uses rsc.io/markdown instead of goldmark. It includes most of the rewriting logic that the goldmark version of the code has except that the heading ids are rewritten slightly differently since we don't have access to the original markdown which the goldmark version uses. A future CL will probably change the processing the goldmark version does to produce heading ids to bring them in line. There are still many other diffs with the goldmark version of the code but most of them are a result of rsc.io/markdown not yet supporting GitHub-flavored markdown. For #61399 Change-Id: Ic8981bc241448268337dc3e98a537a71146a676d Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/547915 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum2
1 files changed, 2 insertions, 0 deletions
diff --git a/go.sum b/go.sum
index e9ed5117..b355ba6d 100644
--- a/go.sum
+++ b/go.sum
@@ -1748,6 +1748,8 @@ modernc.org/z v1.0.1-0.20210308123920-1f282aa71362/go.mod h1:8/SRk5C/HgiQWCgXdfp
modernc.org/z v1.0.1/go.mod h1:8/SRk5C/HgiQWCgXdfpb+1RvhORdkz5sw72d3jjtyqA=
modernc.org/zappy v1.0.0/go.mod h1:hHe+oGahLVII/aTTyWK/b53VDHMAGCBYYeZ9sn83HC4=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+rsc.io/markdown v0.0.0-20231114125513-6fc7bf989e0c h1:HaCtoXmNbydct3DDtBACBsvfOdbU5sH7TdtkrBmylco=
+rsc.io/markdown v0.0.0-20231114125513-6fc7bf989e0c/go.mod h1:NAB5d9ChqypB0BfWUzhyn7GTyPwr2Q0KxmrAFJnOT/g=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=