taskc
taskc scans markdown files in a directory tree, finds task sections marked with <!-- Task -->, and generates a static tasks.html catalog.
Features
- Recursively scans all
.mdfiles from the current directory. - Excludes
.git,target,node_modules, and hidden directories. - Extracts sections where:
- a line is exactly
<!-- Task -->(trimmed) - the next non-empty line is an ATX header (
#..######)
- a line is exactly
- Captures section body until the next header with level
<=the task header. - Groups tasks by source file in the generated page.
- Dark mode by default with light/dark toggle.
- Task cards collapsed by default, with expand/collapse-all control.
Installation
Usage
Run in any directory:
Output:
- Generates
./tasks.html - Prints summary: task count, scanned markdown file count, output path
- Prints non-fatal read/walk warnings when relevant
Task Marker Format
Task details...
Local Development
Install cargo-make once:
Run common tasks:
Available useful tasks:
cargo make fmtcargo make fmt-checkcargo make clippycargo make testcargo make doccargo make packagecargo make ci(full local CI gate)cargo make publish-dry-runcargo make publishcargo make run-fixture
Equivalent raw cargo commands:
Manual fixture:
License
MIT, see LICENSE.