text

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package text provides text processing utilities for markdown content. It includes functions for cleaning markdown formatting and sanitizing filenames.

Key features:

  • Markdown formatting removal for TTS compatibility
  • Safe filename generation from section titles
  • Pre-compiled regex patterns for performance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanMarkdown

func CleanMarkdown(text string) string

CleanMarkdown removes markdown formatting from text for speech synthesis

func SanitizeFilename

func SanitizeFilename(title string) string

SanitizeFilename converts a title into a safe filename

Types

This section is empty.

Jump to

Keyboard shortcuts

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