# Easier Syntax Highlighting, Downloading WordPress.com Email Followers, and Jekyll Tools

- Link: https://cagrimmett.com/2016/02/29/syntax-highlighting-wordpress-followers/
- Published: 2016-02-29T05:00:00-05:00
- Author: Chuck Grimmett

### Today I learned:

#### Easier syntax highlighting with Jekyll

So it turns out that there is an even easier way to do syntax highlighting in Jekyll
[than I described last week](http://cagrimmett.com/til/2016/02/23/basic-logging-syntax-highlighting.html).
Jekyll 3 [has Rouge highlighting built right in](http://jekyllrb.com/docs/templates/#code-snippet-highlighting).

To use it:

    ```highlight
     {% highlight liquid %} Put your foo here 	bar end foo {% endhighlight %}  
    ```

I need to go back though my previous posts and remove the Pygments highlighting 
then uninstall the plugin. Rouge [supports fewer languages](https://github.com/jayferd/rouge/wiki/List-of-supported-languages-and-lexers)
than [Pygments](http://pygments.org/languages/), but Rouge supports all of the languages
I use, plus Liquid and Markdown, which Pygments doesnât.

---

#### Downloading WordPress.com Email Subscribers

I learned today that it is possible to download a CSV of the email subscribers to
your WordPress.com blog (or WordPress.org blog powered by WordPress.comâs [Jetpack](https://cagrimmett.com/2016/02/29/syntax-highlighting-wordpress-followers/jetpack.me)
[Archived Link](http://web.archive.org/web/20160308171700/http://jetpack.me/)). 
They donât make it obvious, but the option is there:

 1. Go to [https://wordpress.com/stats/follows/email](https://wordpress.com/stats/follows/email)
    and log in.
 2. Select the site you want to download your email subscribers for.
 3. At the bottom of the list, you should see an icon and download button:

>   Download all email followers as CSV

---

#### Jekyll Tools

Last night I cleaned up some of my Jekyll templates and put them on Github with 
instructions for how to use them. Check them out:

 * [A template for adding social metadata (Open Graph and Twitter Cards) to posts and pages](https://github.com/cagrimmett/jekyll-tools#social-metadata)
 * [A template for adding Disqus comments](https://github.com/cagrimmett/jekyll-tools#comments-via-disqus)
 * [A template for listing posts by tag](https://github.com/cagrimmett/jekyll-tools#posts-by-tag)
