Skip to main content
removed spurious / that made the opening <code> tag an ending tag (besides that typo, this looks good to me)
Source Link
Eliah Kagan
  • 118.9k
  • 3
  • 45
  • 122

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair. Note that you should write the tags in the same line as the first (last) line of your code snippet, according to @EliahKagan.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre></code>#<pre><code># Here come some code lines
# ...
exit</code></pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair. Note that you should write the tags in the same line as the first (last) line of your code snippet, according to @EliahKagan.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre></code># Here come some code lines
# ...
exit</code></pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair. Note that you should write the tags in the same line as the first (last) line of your code snippet, according to @EliahKagan.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre><code># Here come some code lines
# ...
exit</code></pre>
added 115 characters in body
Source Link
Byte Commander Mod
  • 109.2k
  • 1
  • 33
  • 71

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair. Note that you should write the tags in the same line as the first (last) line of your code snippet, according to @EliahKagan.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre><code>
#<pre></code># Here come some code lines
# ...
exit
<exit</code></pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre><code>
# Here come some code lines
# ...
exit
</code></pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair. Note that you should write the tags in the same line as the first (last) line of your code snippet, according to @EliahKagan.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre></code># Here come some code lines
# ...
exit</code></pre>
added 155 characters in body
Source Link
Byte Commander Mod
  • 109.2k
  • 1
  • 33
  • 71

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><pre><code> ... </code></pre> for code formatting. It means "preformatted text" and looks"code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair.

Example (written with indentation to escape the HTML tagtags and make itthem visible!):

<pre><pre><code>
# Here come some code lines
# ...
exit
</code></pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre> ... </pre> for code formatting. It means "preformatted text" and looks the same as code blocks indented with 4 spaces.

Example (written with indentation to escape the HTML tag and make it visible!):

<pre>
# Here come some code lines
# ...
exit
</pre>

If you're just too lazy to indent a huge number of lines, you can select it and click on the {}-button in the panel above the text field where you enter your post.

Another possibility is to use the HTML tag pair <pre><code> ... </code></pre> for code formatting. It means "preformatted text" and "code" on the finally displayed site it is exactly the same as code blocks indented with 4 spaces, because those Markdown indentations are converted to exactly this HTML tag pair.

Example (written with indentation to escape the HTML tags and make them visible!):

<pre><code>
# Here come some code lines
# ...
exit
</code></pre>
Source Link
Byte Commander Mod
  • 109.2k
  • 1
  • 33
  • 71
Loading