Help us shape the future of Go! Take the 2026 Go Developer Survey

processor

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarkdownProcessor

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

MarkdownProcessor Markdown处理器

func NewMarkdownProcessor

func NewMarkdownProcessor(includeMeta bool) *MarkdownProcessor

NewMarkdownProcessor 创建Markdown处理器

func (*MarkdownProcessor) Process

func (p *MarkdownProcessor) Process(htmlContent, url string) *ProcessResult

Process 将HTML转换为Markdown

type ProcessResult

type ProcessResult struct {
	Title     string
	Content   string
	WordCount int
	URL       string
	Success   bool
	Error     error
}

ProcessResult 处理结果

Jump to

Keyboard shortcuts

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