# WordPress plug-in for Swift syntax highlighting?

**URL:** <https://forums.swift.org/t/wordpress-plug-in-for-swift-syntax-highlighting/68531>\
**Category:** Related Projects\
**Tags:** wordpress, syntax-highlighting\
**Created:** [November 18, 2023, 9:11pm UTC](https://forums.swift.org/t/wordpress-plug-in-for-swift-syntax-highlighting/68531 "2023-11-18T21:11:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![wadetregaskis](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/wadetregaskis/32/8494_2.png) [@wadetregaskis](https://forums.swift.org/u/wadetregaskis)\
**Post date:** [December 30, 2023, 2:42am UTC](https://forums.swift.org/t/wordpress-plug-in-for-swift-syntax-highlighting/68531/3 "2023-12-30T02:42:31Z")

</div>

Ugh, this ended up taking an absurd amount of my time. The fruits of that dubious labour are available now, though: [Swift code syntax highlighting in WordPress](https://wadetregaskis.com/swift-code-syntax-highlighting-in-wordpress/).

_TL;DR:_ they pretty much all do a poor job, although [Code Block Pro](https://code-block-pro.com/) has the most promise, and [SyntaxHighlighter Evolved](https://alex.blog/wordpress-plugins/syntaxhighlighter/) gets an honourable mention as a relatively lightweight "dumb" plug-in that does a surprisingly passable job nonetheless.

If folks in our community, like @jtbandes, continue [doing the hard work](https://forums.swift.org/t/updated-syntax-highlighting-in-github-vs-code/68972) to improve Swift's syntax-highlighting support in Visual Studio Code (and on GitHub), then those benefits should eventually make it into Code Block Pro as well, as they all share the same language grammar definitions. So there's perhaps room for optimism that the situation will get better.

---

_[View the full topic](https://forums.swift.org/t/wordpress-plug-in-for-swift-syntax-highlighting/68531)._
