processor

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package processor handles content processing and formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentProcessor

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

ContentProcessor handles HTML processing and content formatting

func NewContentProcessor

func NewContentProcessor() *ContentProcessor

NewContentProcessor creates a new content processor instance

func (*ContentProcessor) FormatContent

func (*ContentProcessor) FormatContent(content string, startIndex, maxLength *int) string

FormatContent applies pagination and truncation to content

func (*ContentProcessor) ProcessHTML

func (p *ContentProcessor) ProcessHTML(htmlContent string) string

ProcessHTML converts HTML content to readable markdown

Jump to

Keyboard shortcuts

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