Convert < and > to < and > to use in <pre> tag.
Try it 👉 here
-
If you're writing documentation for your package to show HTML syntax that needs
<pre>tag to show codes and that's where you need preformatter -
preformatter will help you to convert this :
<pre> <div className="container-980"> <h1>Hello World</h1> </div> </pre>
- to this:
<pre> <div className="container-980"> <h1>Hello World</h1> </div> </pre>
- So that you can show your HTML syntax using
<pre>tag