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

Render Pandoc in Heist Splice monad #43

Merged
merged 1 commit into from
May 29, 2021
Merged

Conversation

srid
Copy link
Owner

@srid srid commented May 29, 2021

Preparing for upcoming AST related work (#24, #10), we make all inline and block renderer function in the Heist monad, thus giving us the flexibility to run custom splicing.

This change incidentally fixes #23 however it fails in some cases of raw HTML (such as when wrapping with <div>) but that would be a limitation to document (and potentially to address later in a separate bug report).

Switch from blaze-html to rendering xmlhtml, such that the entire inline/block renderer runs in the Heist splice monad.
@srid srid merged commit b51d50e into master May 29, 2021
@srid srid deleted the pandoc-render-as-splice branch May 29, 2021 17:03
shivaraj-bh pushed a commit to shivaraj-bh/emanote that referenced this pull request Dec 18, 2023
Render Pandoc in Heist Splice monad
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.

Raw HTML doesn't work in Markdown
1 participant