markdown

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package markdown provides markdown rendering services for the server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

Renderer provides markdown to HTML conversion.

func NewRenderer

func NewRenderer() *Renderer

NewRenderer creates a new markdown renderer.

func (*Renderer) Render

func (r *Renderer) Render(content string) (string, error)

Render converts markdown content to HTML.

func (*Renderer) RenderBytes

func (r *Renderer) RenderBytes(content []byte) ([]byte, error)

RenderBytes converts markdown content to HTML bytes.

Jump to

Keyboard shortcuts

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