mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2026-04-01 07:05:38 +02:00
Pages deploy ux a11y refresh (#1252)
Some checks failed
Deploy to GitHub Pages / build (push) Failing after 3s
Deploy to GitHub Pages / deploy (push) Has been skipped
Pull Requests / Weekly QA / test (push) Failing after 4s
Broken Links Report / check-links (push) Failing after 9s
Weekly Health Report / health-check (push) Failing after 2s
Some checks failed
Deploy to GitHub Pages / build (push) Failing after 3s
Deploy to GitHub Pages / deploy (push) Has been skipped
Pull Requests / Weekly QA / test (push) Failing after 4s
Broken Links Report / check-links (push) Failing after 9s
Weekly Health Report / health-check (push) Failing after 2s
* Improve Pages workflow and redesign site with accessible sidebar navigation * README clean up * Use Makefile website target in Pages deploy workflow
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/yuin/goldmark"
|
||||
"github.com/yuin/goldmark/extension"
|
||||
"github.com/yuin/goldmark/parser"
|
||||
"github.com/yuin/goldmark/renderer/html"
|
||||
)
|
||||
|
||||
@@ -27,6 +28,7 @@ func Build(markdownPath, templatePath, outputPath string) error {
|
||||
// Convert markdown to HTML
|
||||
gm := goldmark.New(
|
||||
goldmark.WithExtensions(extension.GFM),
|
||||
goldmark.WithParserOptions(parser.WithAutoHeadingID()),
|
||||
goldmark.WithRendererOptions(html.WithUnsafe()),
|
||||
)
|
||||
var buf bytes.Buffer
|
||||
|
||||
Reference in New Issue
Block a user