You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, the wysiwyg editor that I'm using to create code samples does not use \n line breaks to create new lines, it uses <p> tags. I do not want the <p> tags to show up with my code (I'm creating code samples for JavaScript). What would you suggest to get rid of the <p> tags and instead have line breaks? I would have thought that adding the render attribute to code-sample would render the html, but it doesn't seem to be working. Thanks for any insights
The text was updated successfully, but these errors were encountered:
It looks like the render attribute is rendering the html, but it displays the plain rendered version above the prettified non-rendered version. That's almost exactly what I want, but I only want the rendered version to appear, and I want the rendered version to be prettified. Just to explain, I have a markup language with tags that compile down to html, the pretty tag compiles down to code-sample and is displayed below the editor:
So, the wysiwyg editor that I'm using to create code samples does not use
\n
line breaks to create new lines, it uses<p>
tags. I do not want the<p>
tags to show up with my code (I'm creating code samples for JavaScript). What would you suggest to get rid of the<p>
tags and instead have line breaks? I would have thought that adding therender
attribute tocode-sample
would render the html, but it doesn't seem to be working. Thanks for any insightsThe text was updated successfully, but these errors were encountered: