Display Code (2 posts)

  1. soggybag
    Posted 8 years ago #

    Can anyone point me to a plugin that allows displays code samples? For example I want to display PHP or other code samples on my site.

  2. Alex C.
    Posted 8 years ago #

    Code markup does that.

    Also, you can always write your code in a text-editor like notepad or whatever you use. After, write a new post (here comes the tricky part), switch to code view, add line like < pre >replace</ pre > (without the extra spaces), then switch back to visual. Select the word "replace" and replace it with code from your text editor.

Topic Closed

This topic has been closed to new replies.

About this Topic