Code Block in Blogger
Code Block in Blogger
Use the following command to write a code block in blogger:
<pre><code style="background-color: #eeeeee; border: 1px solid rgb(153, 153, 153); display: block; overflow: auto; padding: 20px;"> you can write your code between this <code></code> tag</code></pre>
After the code block was created. I copied the above code text from Visual Code Studio, and it retains its style. This will be useful for me in further posts.
See How to add code snippets in blogger posts for more details.
Comments