-
Notifications
You must be signed in to change notification settings - Fork 32
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
Allow the body of news items and events to be written in markdown #83
Comments
Good idea! I believe @nicholasjhenry told me that was indeed in the pipeline. Pending the core team's approval (e.g. by tagging the issue as a 'feature'), I'd be happy to start on that one. |
I've implemented something like this before, so let me know if you need some pointers on how to tackle this one. |
π @cawel do you want to take care of it? Also, remember that the markdown storage/display behaviour should be shared by a lot of our models (anywhere we have a |
@benichu Sure thing π I will start on that tomorrow Tuesday. |
Cool stuff. I invited you to the contributor's team, so you don't have to fork the repository but can directly create branches off the repository. Tell me if you need any help. |
One additional feature on Events and NewsItems would be to include a |
@itsWill Thanks for the offer. I've been writing my own notes β on various topics β using the awesome markdown syntax for many years now. I should be good! But I'll be looking forward to hear what you have to say in a possible code review ;) @benichu Thanks for making me a contributor π @nicholasjhenry Happy if I make your Taking a look at the object model diagram, my understanding is that "markdown support" is required for the following models:
So just to double check, |
Correct. Thank you. |
@nicholasjhenry Did you have a chance to get a copy of the current wordpress site db dump? |
@benichu Yes, I do have a copy of the dump. Never considered converting the HTML to markdown, but if that's doable sounds like a plan. I'll share the dump with you via slack. |
@cawel I am going to look into the wordpress db dump (asap)... |
Actually, another thought -- doesn't the markdown renderer ignore HTML anyway and passes it through? |
@nicholasjhenry You are right. Per the Markdown syntax spec, |
It would be cool if for news items and events we could write the body in markdown to give our posts some β π β π β π β. Thinking we could implement this using something like redcarpet
The text was updated successfully, but these errors were encountered: