Skip to content

Commit

Permalink
update code fences with pygments
Browse files Browse the repository at this point in the history
  • Loading branch information
comraderoyce committed Feb 28, 2018
1 parent 3f57342 commit 9d55103
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion config.toml
Expand Up @@ -6,7 +6,8 @@ theme = "hyde-royce"
rssLimit = 23
enableGitInfo = true
footnoteReturnLinkContents = ""

pygmentsCodeFences = true
PygmentsStyle = ""

[taxonomies]
tag = "tags"
Expand Down
8 changes: 4 additions & 4 deletions content/writing/hugo.md
Expand Up @@ -40,7 +40,7 @@ Get started with Hugo [here](https://gohugo.io/tutorials/automated-deployments/)

Steps recreated here:

```
```bash
$ brew install hugo
$ hugo new site and-wells
$ cd and-wells
Expand All @@ -52,7 +52,7 @@ Go ahead and add your themes to the themes folder.

Make a post or page, then go check everything out locally.

```
```bash
$ hugo new about.md
$ vim content/about.md
$ hugo server --buildDrafts
Expand All @@ -62,7 +62,7 @@ $ hugo server --buildDrafts

Make a repo on GitHub and add your Hugo files.

```
```bash
$ git init
$ echo "/public" >> .gitignore
$ echo "User-agent: *\nDisallow:" > static/robots.txt
Expand All @@ -89,7 +89,7 @@ Wercker will need your Amazon key information to deploy to S3. Add those in the

The `werkcer.yml` file goes in the root folder of your site.

```
```yml
# werkcer.yml
box: debian
build:
Expand Down
6 changes: 3 additions & 3 deletions content/writing/irssi.md
Expand Up @@ -13,14 +13,14 @@ How to get started with ```irssi```, the terminal IRC client.

Use Homebrew for the install. It is also helpful to run things in ```tmux``` so that you can maintain sessions.

```
```bash
$ brew install irssi
$ tmux -c irssi
```

## Starting with irssi

```
```irssi
/set nick royce
```

Expand All @@ -30,7 +30,7 @@ Make sure to change your username and nicknames if you don't want to use your sy

Once irssi starts up, you can connect to IRC servers and then join channels.

```
```irssi
/connect Freenode
/join #irssi
```
Expand Down
6 changes: 3 additions & 3 deletions content/writing/newsboat.md
Expand Up @@ -27,16 +27,16 @@ I used `geeknote`, a command line utility for Evernote, so it was a matter of ju

Here is the plugin:

```sh
#!/bin/sh
```bash
#!/bin/bash
#basic newsboat bookmark plugin for evernote

url="$1"
title="$2"
description="$3"
feed_title="$4"

content="${url}"$'\n'"${description}"$'\n'${feed_title}
content="${url}"$'\n'"${description}"$'\n'"${feed_title}"

geeknote create --title "${title}" --content "${content}"

Expand Down

0 comments on commit 9d55103

Please sign in to comment.