-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration setCodeBlockEmitter not working propperly #43
Comments
The code |
I have and when inputing a markdown that contains a fenced code block such
It does not fire. On Sep 7, 2015 7:33 AM, "René Jeschke" [email protected] wrote:
|
Here's a working example. Be sure to enable |
Thanks, got it to fire. It was the extendedProfile which was not forced. On Mon, Sep 7, 2015 at 9:55 AM, René Jeschke [email protected]
|
Configuration.Builder#setCodeBlockEmitter(BlockEmitter emitter)
Example code:
Configuration.Builder c = Configuration.builder();
c.setCodeBlockEmitter(new CodeBlockEmitter());
c.setAllowSpacesInFencedCodeBlockDelimiters(true);
String res = Processor.process(markdown, c.build());
The configuration does seem to be adding, nor executing the CodeBlockEmitter() class. The code for it is similar to the example code.
The text was updated successfully, but these errors were encountered: