SyntaxHighlighter Evolved: Swift Brush released

This simple WordPress plugin adds support for the Swift Programming Language to the SyntaxHighlighter Evolved plugin.
Requires SyntaxHighlighter Evolved plugin to be installed first.

I admit that I may have missed some Swift keywords or something, so if you find it, please tell me about it. Thank you.

Example code

<br />
@objc<br />
class ExampleClass {</p>
<p>    let text: String<br />
    var num = 0</p>
<p>    init(text: String) {<br />
        self.text = text<br />
        println(&quot;Text = &quot; + text)<br />
<p>    func incrementNum() {<br />
        num++<br />
    }<br />
}<br />

Installation Instructions

  1. Upload syntaxhighlighter-swift to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

How to use

Simply wrap your code in tags or . You may want to take a look at more tags that you can use on SyntaxHighlighter Evolved settings page.

Download now from here.

Leave a Reply

Your email address will not be published. Required fields are marked *