htmllatex

package
v0.0.0-...-dc915fa Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeURI

func EscapeURI(uri string) string

Types

type Converter

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

func New

func New(dwn ImageDownloader, uri string) *Converter

func (*Converter) Do

func (c *Converter) Do(ctx context.Context, htext string) (*Response, error)

func (*Converter) DoPlain

func (c *Converter) DoPlain(text string) string

type ImageDownloader

type ImageDownloader interface {
	Download(context.Context, string) (string, error)
}

type Response

type Response struct {
	Content string
}

Jump to

Keyboard shortcuts

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