Would like to access options of a pipeline in a parser extension #226

Open
opened 2026-01-29 14:30:50 +00:00 by claunia · 2 comments
Owner

Originally created by @pethopal on GitHub (Sep 26, 2018).

I will write a customized Markdig extension,
and I would like to reach some options from the parser Match method.
But unfortunately I do not see MarkdigOption (in the parser). How can I use options here?

Originally created by @pethopal on GitHub (Sep 26, 2018). I will write a customized Markdig extension, and I would like to reach some options from the parser Match method. But unfortunately I do not see MarkdigOption (in the parser). How can I use options here?
claunia added the questionenhancement labels 2026-01-29 14:30:51 +00:00
Author
Owner

@xoofx commented on GitHub (Oct 7, 2018):

But unfortunately I do not see MarkdigOption (in the parser). How can I use options here?

Options of extensions are currently not accessible. Not sure also all extensions are exposing their config correctly. Don't have spare time but you can try a PR.

@xoofx commented on GitHub (Oct 7, 2018): > But unfortunately I do not see MarkdigOption (in the parser). How can I use options here? Options of extensions are currently not accessible. Not sure also all extensions are exposing their config correctly. Don't have spare time but you can try a PR.
Author
Owner

@pethopal commented on GitHub (Oct 10, 2018):

Thank you for the reply, If I had time, I can try a PR...

@pethopal commented on GitHub (Oct 10, 2018): Thank you for the reply, If I had time, I can try a PR...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#226