Protected
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
Split strategy that divides content based on markdown headers.
Splits the file at headers of a specified level, creating a new file for each section. This is ideal for documents with clear hierarchical structure where each major section can stand alone.
Example
Header-based splitting