Marty Walker Posted September 12, 2014 Share Posted September 12, 2014 Hello, I want to use the field description to explain the usage of some markdown syntax. How do I stop it rendering the markdown I'm entering? I've tried wrapping the lines in <pre><code> but it doesn't seem to work. -Marty 1 Link to comment Share on other sites More sharing options...
Jan Romero Posted September 12, 2014 Share Posted September 12, 2014 Excellent question. I’ve been having this problem as well. So far I haven’t found a better way than disrupting markdown with zero-width non-breaking spaces, e.g. ****This is bold****.Edit: note how I was going to use a zero-width non-breaking space inside the entity above to keep that from rendering, but decided against it so you could just copy it. So be aware if you use this method, your users won’t be able to copy your example code from your field description and try it out in the field. Link to comment Share on other sites More sharing options...
Marty Walker Posted September 12, 2014 Author Share Posted September 12, 2014 Thanks for the reply. My people will probably want to copy/paste the examples. 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