jamescheney / database-wiki

Automatically exported from code.google.com/p/database-wiki
GNU General Public License v3.0
2 stars 0 forks source link

Update parsing code to use modern version of Parboiled/Pegdown #26

Open jamescheney opened 9 years ago

jamescheney commented 9 years ago

We should update the code to use the most recent version of the Parboiled library, but this is complicated somewhat by the fact that we are using a modified version of part of it (the Pegdown markdown parser). Longer-term, it would be good to upgrade to the latest library version and refactor the code to specialize Pegdown rather than modifying it directly.

jamescheney commented 9 years ago

It seems that the current version of pegdown does support some kind of plugins, so it should be possible to define our own kinds of nodes by extending the library rather than maintaining a variant:

https://github.com/sirthias/pegdown