I have tested the new beta of Jetpack (2.8). You can Markdown in editor but not in the ACF one’s. And I use a lot.
But you can add this in you plugin if you are interested. Here is the issue in Github.
Matt give some function for it. It will be great!
Hi @Grégoire Noyelle,
Thanks for the feature request 🙂
Have a great day
Great. Happy to help.
Hi @Grégoire Noyelle
Thanks for the info.
It looks like you need to add in support for each post_Type you want to use it on.
I’m not sure if ACF can do this for you as it is not a post_type manager.
Let me know if I’ve overlooked something, and let me know if you have an idea of what I could add to ACF for markdown to work.
Happy that’s would interest you.
The best thing to do in this case is to open a new issue here:
New Issue on Jetpack’s Github
That’s exactly what I’ve done and they’ll know you’re plugin 🙂
After submitting, give me the link. I will send to one fellow from the Jetpack’s team. It will help.
Hi @Grégoire Noyelle
I don’t have the time to proactively find a solution to this limitation.
My attention is 100% on ACF5, so this will have to wait.
If you are able to lodge a ticket yourself, go for it, but I don’t think this is a limitation that ACF can overcome as it is post_type specific.
Thanks for understanding.
No problem at all. I just want to bring you that info.
We’ll see with a friend if we can make an add-on about that.
Now I added the plugin: Markdown Extra
And add-on: ACF WordPress Wysiwyg Field
In functions.php I added:
// style editor remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_content', 'wptexturize' ); remove_filter( 'the_excerpt', 'wpautop' ); remove_filter( 'the_excerpt', 'wptexturize' ); remove_filter( 'acf_the_content', 'wpautop' ); remove_filter( 'acf_the_content', 'wptexturize' ); // markdown support add_filter( 'the_content', 'Markdown' ); add_filter( 'the_excerpt', 'Markdown' ); add_filter( 'acf_the_content', 'Markdown' );
Thanks a lot. Could you explain more.
You need to add the Markdown extra OR Jetpack’s Markdown Jetpack will be enought?
Do it works with Flexible WYSIWYG?
In my case Jetpack’s Markdown work only in main the_content() field.
But the markdown extra works fine in all fields that you created, including ACF plugin. Just install.
Link to download, markdown extra plugin, paste and extract in plugins folder: http://www.mediafire.com/download/k17ioezu5s74bqm/php-markdown-extra.rar
I think it is the better way
What’s the status with this 5 years on?
Still the Jetpack Markdown Extra doesn’t function in ACF Fields.
Do we need to resort back to one or all of the out of date options suggested above?
Answer I’m not sure I fully understand @vtmx filters above: if I don’t want to remove any functionality do i need the remove_filters or just the add ones?
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🎥👨💻 Join us today at the 2020 Online Page Builder Summit!— Advanced Custom Fields (@wp_acf) October 8, 2020
Interested in the future of WordPress? @elliotcondon kicks off today’s schedule with Rapid Block Type Development!
Build a bespoke, dynamic and powerful Block using PHP in just a few minutes!https://t.co/mAPTJpeu50 pic.twitter.com/4fRNvJjm8g
© 2020 Advanced Custom Fields. Subscribe