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

Fix #604 - replace marked.js with markdown-it.js #605

Merged
merged 7 commits into from
Apr 7, 2015
Merged

Conversation

miketaylr
Copy link
Member

Much nicer markdown library with plugin support. Once this is in place, we can add issue linking and pretty much anything else we want.

r? @magsout

PS, let me know if you want me to deploy this to staging to play around with it. My local tests look good--and it fixes the problem of not being able to display more than one emoji in a comment and other crappy marked.js bugs. We can do that after #564 lands.

@miketaylr
Copy link
Member Author

OK, deployed to staging.

@miketaylr
Copy link
Member Author

Here's an issue you can test markdown out on: http://staging.webcompat.com/issues/241

breaks: true,
html: true,
linkify: true
}).use(window.markdownitSanitizer);

This comment was marked as abuse.

@magsout
Copy link
Member

magsout commented Apr 7, 2015

r +

@magsout
Copy link
Member

magsout commented Apr 7, 2015

Faild here https://travis-ci.org/webcompat/webcompat.com/builds/57505689#L2838 But don't know why ..

@miketaylr
Copy link
Member Author

Hmm weird.

@miketaylr
Copy link
Member Author

I triggered a re-build, let's see how it goes.

@miketaylr
Copy link
Member Author

Green now, let's merge. 🎊

miketaylr pushed a commit that referenced this pull request Apr 7, 2015
Fix #604 - replace marked.js with markdown-it.js
@miketaylr miketaylr merged commit ab00f7c into master Apr 7, 2015
@miketaylr miketaylr deleted the issues/604/1 branch April 7, 2015 20:58
@magsout
Copy link
Member

magsout commented Apr 7, 2015

👍

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

Successfully merging this pull request may close these issues.

2 participants