Skip to main content
replaced http://superuser.com/ with https://superuser.com/
Source Link

On SU, can we remove the default syntax highlighting? It seems that most uses for the Markdown 4-space-indent-code-block on SU are not actual code, and the syntax highlighting is more of a hindrance than a help.

I think what SU really needs isn't a code block, but a preformatted block, and I think the user-friendliest implemementation would simply change the 4-space-indent Markdown to render as <pre></pre> instead of <pre><code></code></pre>.


Here's one awful exampleone awful example (see the first revisionfirst revision). The syntax highlighting was useless to the final rendering of the post, and it made the post hideously slow to load.

On SU, can we remove the default syntax highlighting? It seems that most uses for the Markdown 4-space-indent-code-block on SU are not actual code, and the syntax highlighting is more of a hindrance than a help.

I think what SU really needs isn't a code block, but a preformatted block, and I think the user-friendliest implemementation would simply change the 4-space-indent Markdown to render as <pre></pre> instead of <pre><code></code></pre>.


Here's one awful example (see the first revision). The syntax highlighting was useless to the final rendering of the post, and it made the post hideously slow to load.

On SU, can we remove the default syntax highlighting? It seems that most uses for the Markdown 4-space-indent-code-block on SU are not actual code, and the syntax highlighting is more of a hindrance than a help.

I think what SU really needs isn't a code block, but a preformatted block, and I think the user-friendliest implemementation would simply change the 4-space-indent Markdown to render as <pre></pre> instead of <pre><code></code></pre>.


Here's one awful example (see the first revision). The syntax highlighting was useless to the final rendering of the post, and it made the post hideously slow to load.

Post Migrated Here from meta.stackexchange.com (revisions)
Source Link
quack quixote
quack quixote

Turn Markdown "code" blocks into plain "preformatted" blocks on Super User

On SU, can we remove the default syntax highlighting? It seems that most uses for the Markdown 4-space-indent-code-block on SU are not actual code, and the syntax highlighting is more of a hindrance than a help.

I think what SU really needs isn't a code block, but a preformatted block, and I think the user-friendliest implemementation would simply change the 4-space-indent Markdown to render as <pre></pre> instead of <pre><code></code></pre>.


Here's one awful example (see the first revision). The syntax highlighting was useless to the final rendering of the post, and it made the post hideously slow to load.