Comments (3)
I have exposed enough of the internal machinery in #116, so it should be possible to write arbitrary custom renders.
from mmark.
I actually implemented #116 in a local fork of mmark
to try to write a monadic renderer and I don't think it's sufficient since extensions and renderers are currently pure (they are basically records of Endo
s) and specialized to produce HtmlT Identity ()
so you can't change the underlying monad. Supporting monadic extensions and renderers amounts to replacing Endo a
with Kleisli m a a
so you get some type like MMarkT m
and MMark = MMarkT Identity
.
from mmark.
@emekoi Could you open a PR for that?
from mmark.
Related Issues (20)
- Delimiter runs with punctuation on both sides are rejected HOT 1
- Words with (non-emphasis) underscores rejected HOT 1
- Expose Internal Modules HOT 2
- Terminating emphasis HOT 3
- The other heading style HOT 2
- Expose source position to scanners and extensions HOT 5
- GHCJS support HOT 12
- Compile time `MMark` HOT 3
- Compile fail in Circle CI 2.0 (out of memory error) HOT 6
- Compilation breaks on: # Foo\n\n ### Bar \n\n HOT 3
- Task support HOT 1
- Blockquote laziness support
- Add CSS classes to rendered elements HOT 2
- Paragraphs within blockquotes are not parsed HOT 2
- Parser fails on '_' symbol inside link text HOT 5
- Test suite failure for package mmark-0.0.7.2 HOT 2
- Update the test suite to conform to CommonMark Spec 0.29 HOT 1
- testsuite failing for Stackage Nightly HOT 1
- Enclose sections HOT 3
- Test failures when building with `modern-uri-0.3.4.3` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmark.