converter

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LinkTargetTransformer = &linkTargetTransformer{}

Functions

This section is empty.

Types

type Converter

type Converter interface {
	ConvertToHTML(markdown string) (string, error)
	ConvertToMarkdown(html string) (string, error)
}

func NewConverter

func NewConverter(enableLinkTargetBlank bool) Converter

Jump to

Keyboard shortcuts

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