Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Sign in to follow this  

Adding codeblock to blog


Site URL: https://flower-beige-naxb.squarespace.com/config/help

How do I inject code block with colored background? I have added below code but the code block doesn't render on the blogging page. It displays as it is

<div class="grey">
docker image ls 
docker pull imagexxxxx
docker container run -p 8080:80 -d imagexxxxx (exposed to outside world at 8080)
docker container ls
.grey { 
background: #f0f0f0; 
padding: 50px; 
text-align: center; 

Share this post

Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in to follow this  

  • Create New...