ᐅ notes -i '*.md'
- paper-draft.md [1 message]:
[Line 225] ✓ TODO: yyy
The source code contains:
<!--TODO: xxx-->
// TODO: yyy
[//]: # (TODO zzz)
I think the support for this would require refactoring messageChecks.js to support File Formats that can be presents under multiple Extensions. Each File Format may have different Regex for each Check. Sketch:
formats = [
{
title: "Markdown",
extensions: ["markdown", "mdown", "mkdn", "md", "mkd", "mdwn", "mdtxt", "mdtext", "text", "Rmd"],
regex: {
todo: [/<!--\s*TODO:([\s\S]*?)-->/gi]
}
}
]
ᐅ notes -i '*.md'
[Line 225] ✓ TODO: yyy
The source code contains:
I think the support for this would require refactoring
messageChecks.jsto support File Formats that can be presents under multiple Extensions. Each File Format may have different Regex for each Check. Sketch: