public Task Whitespace_snippet_key() { var content = @" snippet: "; return(SnippetVerifier.VerifyThrows(DocumentConvention.InPlaceOverwrite, content)); }
public Task Missing_endToc() { var content = @" <!-- toc --> Bad "; return(SnippetVerifier.VerifyThrows(DocumentConvention.InPlaceOverwrite, content)); }
public Task Missing_endInclude() { var content = @" BAD <!-- include: theKey. path: /thePath --> "; return(SnippetVerifier.VerifyThrows <MarkdownProcessingException>( DocumentConvention.InPlaceOverwrite, content, includes: new[] { Include.Build("theKey", Array.Empty <string>(), "c:/root/thePath") })); }