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

Update pandoc #21

Open
jgm opened this issue Oct 26, 2020 · 1 comment
Open

Update pandoc #21

jgm opened this issue Oct 26, 2020 · 1 comment

Comments

@jgm
Copy link

jgm commented Oct 26, 2020

If you update the pandoc version you're using, you'll be able to get by with less surgery on the pandoc code base. We've been working on removing C dependencies. Previously, the code syntax highlighting relied on pcre, but I've rewritten it to use a custom Haskell regex engine. We've also moved from the yaml library to the pure Haskell HsYaml (for now anyway*), and we've removed our dependency on cmark-gfm in favor of the pure Haskell commonmark-hs.

It would be really interesting to see if full pandoc can now be compiled with ghcjs.
See jgm/pandoc#4535 which tracks progress in removing C dependencies.

@ozanmakes
Copy link
Owner

Really cool developments! I will give this a go in the coming weeks.

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

No branches or pull requests

2 participants