mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 21:21:03 +00:00
- PR Description - Read prefix+suffix from PR description and put into changelog - Keep those overrides on PR description changes - Add pending level to new PRs
17 lines
499 B
Go
17 lines
499 B
Go
package markdown
|
|
|
|
import (
|
|
"github.com/yuin/goldmark"
|
|
"github.com/yuin/goldmark/renderer"
|
|
"github.com/yuin/goldmark/util"
|
|
|
|
"github.com/apricote/releaser-pleaser/internal/markdown/extensions"
|
|
"github.com/apricote/releaser-pleaser/internal/markdown/renderer/markdown"
|
|
)
|
|
|
|
func New() goldmark.Markdown {
|
|
return goldmark.New(
|
|
goldmark.WithExtensions(extensions.Section),
|
|
goldmark.WithRenderer(renderer.NewRenderer(renderer.WithNodeRenderers(util.Prioritized(markdown.NewRenderer(), 1)))),
|
|
)
|
|
}
|