Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.05 KB

api.md

File metadata and controls

31 lines (20 loc) · 1.05 KB

Library Usage

NuGet package

https://nuget.org/packages/MarkdownSnippets/ NuGet Status

Reading snippets from files

var files = Directory.EnumerateFiles(@"C:\path", "*.cs", SearchOption.AllDirectories);

var snippets = FileSnippetExtractor.Read(files);

snippet source | anchor

Ignored paths

To change conventions manipulate lists MarkdownSnippets.Exclusions.NoAcceptCommentsExtensions and MarkdownSnippets.Exclusions.BinaryFileExtensions.