Abstract
Abstract
splitProtected
generateGenerate a safe filename from a title
Protected
sanitizeSanitize a string to be safe for use as filename
Protected
extractExtract frontmatter from content
Protected
extractExtract title from header line
Protected
getCount the header level (number of # characters)
Protected
isCheck if a line is a header at or above the specified level
Abstract base class for all split strategies.
Provides common functionality for splitting markdown files including filename generation, frontmatter handling, and content sanitization. Concrete strategies implement specific splitting algorithms.
Example
Implementing a custom split strategy