pegdown icon indicating copy to clipboard operation
pegdown copied to clipboard

No way to register a ToHtmlSerializerPlugin with PegDownProcessor

Open hcayless opened this issue 11 years ago • 2 comments

In attempting to implement a plugin, it has become clear that there isn't any way to tell the ToHtmlSerializer that plugins are available via the PegDownProcessor. Only parser plugins are registered via PegDownPlugins and there is no way to pass in serializer plugins. This may be by design, but at least the documentation should make clear that you have to implement your own processor if you want to use a serializer plugin.

hcayless avatar Mar 05 '14 16:03 hcayless

@hcayless I was running into the same thing this weekend. Does #126 seem to fix this?

big-guy avatar Mar 18 '14 04:03 big-guy

Looks like it should. Won’t have time to test it for a few days.

Thanks!

Hugh

On Mar 18, 2014, at 24:38 , big-guy [email protected] wrote:

@hcayless I was running into the same thing this weekend. Does #126 seem to fix this?

— Reply to this email directly or view it on GitHub.

hcayless avatar Mar 18 '14 11:03 hcayless