-
Notifications
You must be signed in to change notification settings - Fork 102
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
String-related panic when processing valid line of Markdown #58
Comments
As mentioned before, markdown.rs has been a rather experimental project of mine and definitely has some stability/completeness issues. We should just switch to pulldown-cmark if people are starting to have troubles because of it. Thanks for looking into it! |
@johannhof I'd like to migrate This Week in Amethyst away from WordPress over to cobalt, but so far it can't process all of the articles in Markdown. Whatever it takes to get it working, I'll support it! |
Yeah I saw that, very nice! You should know that although I'd like to get to a stable release very soon, Cobalt and the Liquid template language (which is the even bigger effort) are still WIP and as you noticed there should be bugs all over the place. My biggest problem right now is that our current file structure is neither consistent nor flexible (e.g. what's the point of With that said, I would obviously love more people to get their hands dirty with this and will support you in any way I can if you still want to got for it. I'll be on vacation until Wednesday though and will then look into all issues and PRs that have piled up. :) |
@johannhof would it be possible to have a way to use different markdown engines? While markdown.rs matures, we can use pulldown-cmark? |
😉 |
Fixed by #64 |
The error message reported by the panic, when looked up on Google, led me to this Rust book page on string slicing. Could you please look into this? This is a pretty major bug. Thanks!
Update: I'm using cobalt 0.2.0 with markdown 0.1.1 on rustc 1.9.0-nightly (eabfc160f) on 64-bit Arch Linux.
Output
Backtrace
The text was updated successfully, but these errors were encountered: