public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Progress report: pure Haskell commonmark parser
@ 2019-07-12 16:06 John MacFarlane
       [not found] ` <m2h87r6xum.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2019-07-12 16:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


For some time, I've been working on a pure Haskell commonmark
parser that aims to support pandoc extensions:

https://github.com/jgm/commonmark-hs

When it is finished, my idea is to use it to replace pandoc's
markdown reader.  This will improve performance and compatibility
and fix a number of longstanding bugs, including performance
bugs.  The library is easy to extend and has minimal
dependencies. I'm hoping that eventually it could be used
for rendering on Hackage and a markdown extension in haddock.

Currently I've finished the core and the following extensions:

- pipe_tables
- smart
- strikethrough
- math
- emoji
- autolinks
- footnotes
- definition_lists
- attributes
- raw_attribute
- bracketed_spans
- fenced_divs
- auto_identifiers
- implicit_heading_references

If any developers are interested in helping out, we still need
to implement the following:

- subscript
- superscript
- fancy_lists
- example_lists
- implicit_figures
- line_blocks
- task_lists
- yaml_metadata_block (probably in separate package to avoid yaml dependency)
- pandoc_title_block
- citations
- simple tables
- multiline tables
- grid tables

If you want to contribute, have a look at the code and I'd be
happy to answer questions.  I'm also keen to simplify the current
code, and to improve performance, so ideas there are also welcome.

John


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-12 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 16:06 Progress report: pure Haskell commonmark parser John MacFarlane
     [not found] ` <m2h87r6xum.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-07-12 21:07   ` Kolen Cheung
     [not found]     ` <2451db2f-c0c0-4195-bac6-d81cfc21a291-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-07-12 21:57       ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).