markdown

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package markdown provides encapsulated methods to convert Markdown to HTML.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToGoHTML

func ToGoHTML(md string) template.HTML

ToGoHTML converts Markdown to Go template.HTML. It runs ToHTML internally.

func ToHTML

func ToHTML(md string) string

ToHTML converts Markdown to HTML and sanitizes the resulting HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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