Documentation
¶
Overview ¶
Package normalize ensures section headings and other user input have the correct Markdown format before insertion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TargetSection ¶
TargetSection ensures a section heading has proper Markdown format.
Prepends "## " if the section string does not already start with "##". Callers must not pass an empty string; the empty case is handled by InsertTask before this function is reached.
Parameters:
- section: Raw section name from user input (non-empty)
Returns:
- string: Normalized section heading (e.g., "## Phase 1")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.