DrQuincy Posted June 19 Share Posted June 19 I'm sure I've seen this before but can't find it anywhere… I have the TextformatterMarkdownExtra text formatter installed. I have a field that uses TextformatterEntities but in certain instances I want to switch to markdown on the fly. How can I do this. Obviously $page->of(false) first — and then what? Thanks. Link to comment Share on other sites More sharing options...
bernhard Posted June 19 Share Posted June 19 https://processwire.com/api/ref/sanitizer/entities-markdown/ 2 Link to comment Share on other sites More sharing options...
DrQuincy Posted June 19 Author Share Posted June 19 Ah, it's as easy as that, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now