plain

package
v0.0.0-...-ec5862a Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package plain converts HTML to plain text and vice versa.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromHTML

func FromHTML(text string) (string, data.OrderedMap[string, string])

FromHTML converts HTML to plain text and extracts links.

func ToHTML

func ToHTML(text string, tags []ap.Tag) string

ToHTML converts plain text to HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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