Markdig.Extensions.SharpCs #187

Open
opened 2026-01-29 14:29:48 +00:00 by claunia · 1 comment
Owner

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 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.

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 `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.
claunia added the extension label 2026-01-29 14:29:48 +00:00
Author
Owner

@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!

@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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#187