-
Notifications
You must be signed in to change notification settings - Fork 180
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
How to extend inline markdown parsing? #291
Comments
This requires a patched version of the library from https://github.com/gomarkdown/markdown – see https://github.com/kensanata/markdown. See issue here: gomarkdown/markdown#291
I've forked a version of the markdown library and made the following change: 302893f This seems to do what I want. In my wiki, I was able to add the extension to the parser, and test it successfully: 4c4156c44e7a0e43c4ca671e9361243dc8065822 |
I've added |
This requires the latest version of https://github.com/gomarkdown/markdown – see gomarkdown/markdown#291
Thanks, works as intended! |
If you're interested, I can try and write extract the two uses I have for this for your examples directory? |
Yes, that would be great. |
I'd be interested in parsing
[[links]]
and#hashtags
but don't know where to start.My naïve approach would be something like the following for hashtags (untested, since it doesn't compile). I'm pretty new to Go so I'm guessing the reason this fails is because I have no access to
Parser.inlineCallback
. I think the best solution would be to add something to Options that would allow passing a additional values forinlineCallback
?The text was updated successfully, but these errors were encountered: