Wix Blog: Adding a Code Snippet to a Blog Post

1 min read
With the Code Snippet feature in your post toolbar, you can showcase a piece of formatted code within your blog post. This can be especially useful for bloggers who write about programming, web development, and similar topics.

To add a code snippet to a blog post:

  1. Go to the Blog tab in your site's dashboard. 
  2. Click Create New Post or click Edit on an existing post.
  3. Add a post title.
  4. Add the post content, including the code.
  5. Highlight the code. 
  6. Click the Code Snippet iconto format the code.
  7. When you're ready, click Publish.