html

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package html a parser for html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

Parser is a parser which parse html content to markdown

func NewParser

func NewParser(opts ...converter.ConvertOptionFunc) *Parser

func (*Parser) Parse

func (h *Parser) Parse(ctx context.Context, reader document.ParserReader, writer io.Writer) error

Parse try to parse a html content from a bytes.Reader into a markdown content then write to an io.Writer

Jump to

Keyboard shortcuts

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