chunk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package chunk splits text bodies into heading-aware sections for indexing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Section

type Section struct {
	Heading string
	Body    string
}

Section is one heading-aware Markdown chunk.

func Markdown

func Markdown(title, body string) []Section

Markdown splits Markdown into heading-aware sections.

Jump to

Keyboard shortcuts

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