MarkdownSnippets icon indicating copy to clipboard operation
MarkdownSnippets copied to clipboard

Possiblity to include markdown files

Open OskarKlintrot opened this issue 2 years ago • 2 comments

Is the feature request related to a problem

I'm trying to switch from SourceTransform to InPlaceOverwrite but I ran into an issue. ValidateContent now errors out on some markdown files I'm not interested in (some README.md for test projects etc). I'm only interested for MarkdownSnippets to work it's magic on the md-files in \Docs\DocFx\articles but still looking for snippets in \. There are some md-files here and there making it a bit cumbersome to exclude them all.

Describe the solution

"IncludeMarkdownDirectories": [ "\\Docs\\DocFx\\articles" ]

Describe alternatives considered

"ExcludeMarkdownDirectories": [ "A", "Whole", "Bunch", "Of", "Directories" ]

Additional context

~~I'm not sure what #120 is but it sounds like it could be this. That feature seems to have been removed.~~ Nope, it wasn't.

OskarKlintrot avatar Sep 09 '22 13:09 OskarKlintrot

can u share a failing unit test as a Pull Request

SimonCropp avatar Sep 14 '22 09:09 SimonCropp

Sure, just give me a few days!

OskarKlintrot avatar Sep 14 '22 12:09 OskarKlintrot