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 {
}
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 (*ContentProcessor) ProcessHTML(htmlContent string) string
ProcessHTML converts HTML content to readable markdown
Click to show internal directories.
Click to hide internal directories.