Visual Studio extension to generate a Markdown .md documentation file from the C# .cs file stripping the special symbol comments.
This VSIX extension for Visual Studio 2019 contains a CustomTool File Generator,
which generates a markdown file from the .cs file by stripping the comments /*md
, md*/
, and //md
.
The tool helps to turn your C# file with markdown comments into documentation file with runnable examples and what not.
- Clone this repo, compile CsToMd project, find the CsToMd.vsix in output and install it.
Or simply install avsix
extension from the release. - In properties of your .cs file, set the
CustomTool
property toCsToMd
. - Save the .cs file with
/*md
andmd*/
comments in it (or without - it will work too). - Check the generated .md file under the .cs file in Solution Explorer
Play with the example project CsToMdTest in this repo to see how it works.
That's all for now.. Stay tuned ;-)