@sytone/markdown-snippet-injector
Version:
The MarkDown snippet injector generates MD code snippets by extracting them from the source code of your projects.
21 lines (17 loc) • 538 B
Markdown
snippetinjector-process
%snippet id='snippetinjector-process' options='nocodeblock'%%
Loads the code snippets from the source-tree at the specified location.
@param root The root of the source-tree to load the snippets from.
%/snippet%%
%snippet id='snippetinjector-processDocsFile' options=''%%
```TypeScript
Handles the injection into the markdown files.
```
%/snippet%%
%snippet id='ts-snippet-with-hidden-section' options=''%%
```TypeScript
private div(a: number, b: number) {
return a / b;
}
```
%/snippet%%