rusty-todo-md 1.9.2

A multi-language TODO comment extractor for source code files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// ===============================
// 📝 Markdown Comment Parser
// ===============================

// A Markdown file may contain HTML-style comments.
markdown_file = { SOI ~ (comment | any_non_comment)* ~ EOI }

// HTML comments
comment = @{ "<!--" ~ (!"-->" ~ ANY)* ~ "-->" }

// Everything else
any_non_comment = { !(comment) ~ ANY }