Select Extensions from left panel or press Ctrl + Shift + X.
Type in json-snippet-to-md-documentation. The extension with name JSON Snippets file to beautiful .MD file Documentation will show.
You can select the extension and read the overview features if you want.
Pres Install button and you are ready.
Open your snippet.json file.
Press Ctrl + Shift + P and write down:
export to .md file documentation
Choose the command and new .md file with content will be opened.
If you want to change the default settings you can:
Go to VS Code Settings
File > Preferences > Settings
Select User Tab
Collapse Extensions Section
Choose JSON Snippets Configurations
List of options will be loaded /in italics are the default values which can be changed/:
Multiple Prefixes Delimiter
If some snippet has multiple prefixes, this is the delimiter for them in the documentation.
select-statement
Prefix: sel OR select
Multiple Prefixes Delimiter
Delimiter for multiple Prefixes
OR
Code Block Comment Message /before Prefixes/
This is the first comment line of the block code which shows the prefixes. As prefixes are dynamically generated you should insert your desired text BEFORE them.
/*Write down sel OR select OR s and press Tab to insert snippet*/
Code Block Message Start
Code Block Comment Message /before Prefixes/
Write down
Code Block Comment Message /after Prefixes/
This is the first comment line of the block code which shows the prefixes. As prefixes are dynamically generated you should insert your desired text AFTER them.
/*Write down sel OR select OR s and press Tab to insert snippet*/
Code Block Message End
Code Block Comment Message /after Prefixes/
and press Tab to insert snippet
File Header Name with H1 heading
This is the H1 heading text of the newly generated .md file.
JSON Snippets to MD File
MDHeader
File Header Name with H1 heading
JSON Snippets to MD File
File Description
This is the description of the .md file.
JSON Snippets to MD File
This is a simple documentation of prefixes with their associated snippets.
MDdescription
File Description
This is a simple documentation of prefixes with their associated snippets.
Known Issues
Currently there are no known issues.
Release Notes
0.6.0
Bugfix of Delimiter for multiple Prefixes parameter