mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-10 21:40:00 +00:00
Markdig.Extensions.SharpCs #187
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @macaba on GitHub (Feb 5, 2018).
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
csxfiles 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.
@xoofx commented on GitHub (Feb 5, 2018):
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!