Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it works with Markdown? #75

Open
ghostku opened this issue May 16, 2018 · 1 comment
Open

Does it works with Markdown? #75

ghostku opened this issue May 16, 2018 · 1 comment

Comments

@ghostku
Copy link

ghostku commented May 16, 2018

They say it works with Markdown. But I can't deal with it, none of my TODOs in Markdown shown.
Does it work? Can anyone show an example?

Thanks

@GitMensch
Copy link

Is there a defined way of specifying comments in Markdown nowadays or do you use the "empty link" option to fake a comment?

According to https://github.com/kantlove/vscode-todo-parser/blob/master/src/types/LanguageType.ts this plugin uses the Java Regex for Markdown, which is defined at https://github.com/kantlove/vscode-todo-parser/blob/master/src/const/RegexStrings.ts as /*+([\s\S]*?)*/|//([^\r\n]+) so it should work when using a double slash (can't get it to work) or the /* */ notation, but I think there's a . missing in the first part of the regex...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants