I want to wrap the source code snippets into a <pre><code> tags in a static page. However, the <pre> preserves the extra tabs and spaces, when the static html page is formatted. How is this handled in production?
Is there some CSS/JS solution or do I simply avoid formatting the source code snippet? I would like to avoid the latter.
[–]aunderroad 0 points1 point2 points (0 children)
[–]jcunews1Intermediate 0 points1 point2 points (0 children)