markdown

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarkdownToHtml

func MarkdownToHtml(text string) (string, error)

ToHtml converts a markdown text to html

1. the text is trimmed of any white spaces 2. if the text is empty, it returns an empty string 3. the text is converted to html using the goldmark library

Types

This section is empty.

Jump to

Keyboard shortcuts

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