markdown

package
v0.0.0-...-8c9b121 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package markdown renders Markdown to HTML for content that is pushed to the Shopware Store (extension description, installation manual and changelog).

The generated HTML is embedded inside a store page that already owns its heading hierarchy, so the renderer is configured to follow the Shopware Storefront SEO guidelines (see heading_renderer.go).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() goldmark.Markdown

New returns a goldmark instance configured for rendering Markdown that is pushed to the Shopware Store.

func ToHTML

func ToHTML(content []byte) (string, error)

ToHTML converts Markdown content to HTML using the store-configured renderer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL