markdig icon indicating copy to clipboard operation
markdig copied to clipboard

Markdig.Extensions.SharpCs

Open macaba opened this issue 7 years ago • 1 comments

I've created an extension for Markdig here: https://github.com/macaba/Markdig.Extensions.ScriptCs

It essentially allows any arbitrary C# code to output markdown or HTML to the document. The C# can either be in the markdown or the bulk of it can be put into csx files that are referenced from the markdown for better separation of code from content. Readme.md shows a few good examples.

I don't think it's suitable for a pull request into this repo as it has large nuget dependencies so it wouldn't make sense (to me) to pollute core Markdig with these.

However I do want to invite comments and suggestions so I thought I'd open this issue.

macaba avatar Feb 05 '18 12:02 macaba

Glad that you were able to make your way to get an extension working without much documentation there. I can see interesting usages of your extension, but yeah, it is likely outside of the scope of the core parts. Anyway, thanks for the feedback!

xoofx avatar Feb 05 '18 14:02 xoofx