Prevent wordpress from rendering shortcode in post

Suppose I have a [list] shortcode. I want to have a post explaining how to use shortcodes (docs for my theme). How can I have a header like

[list type="arrow"] Shortcode Tag

Read More

Currently wordpress will mess it up converting [list type="arrow"] into invalid HTML

Related posts

Leave a Reply

1 comment

  1. This is very similar to this question where Jan had given us all a great lesson 🙂

    just use double brackets, WordPress
    will not execute the shortcode but
    just display it with single brackets.

    so your header would be [[list type="arrow"]]