Skip to content
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

Introduce special serializer for raw fenced block #250

Merged
merged 2 commits into from
Sep 19, 2018

Conversation

ennru
Copy link
Member

@ennru ennru commented Sep 17, 2018

This RawVerbatimSerializer adds the text in the fenced block unchanged to the output. It can be used to add a hand-coded html section, or to add code used by Javascript tools such as #223 suggests.

@ennru ennru force-pushed the ennru_raw-fenced-blocks branch from 6ba47b9 to ea891e3 Compare September 18, 2018 09:07
@@ -56,4 +57,28 @@ will render as:

```html
<p>This is a <span class="group-scala">Scala variant containing <strong><em>markdown</em></strong> and <a href="test.html">Linking</a></span> to show.</p>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The close fence ``` for the original html block above got removed.

Copy link
Contributor

@2m 2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ennru ennru merged commit 2efafe6 into lightbend:master Sep 19, 2018
@ennru ennru added this to the 0.4.3 milestone Sep 19, 2018
@ennru ennru deleted the ennru_raw-fenced-blocks branch September 19, 2018 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants