Skip to content

Commit

Permalink
fix(post): syntax highlight causes codes unreadable on custom color s…
Browse files Browse the repository at this point in the history
…cheme
  • Loading branch information
sparanoid committed Jan 6, 2017
1 parent bb811b0 commit c5c71f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _app/_posts/note/2014-02-01-svg-post-title.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ scheme-bg: "#ff9610"

This is an example of custom post title using SVG image. You can simply add the following setting to your post [front-matter field](http://jekyllrb.com/docs/frontmatter/):

```yaml
```
svg-headline: svg/cool-title.svg
svg-headline-width: 400
svg-headline-height: 86
Expand All @@ -25,14 +25,14 @@ Image defined for `svg-headline` should be stored at `_app/assets/svg/cool-title

There's also an option for common raster images, but please note that these files should be stored at where you define `site.file`.

```yaml
```
img-headline: cool-title.png
img-headline-width: 500
```

> **Pro Tips**: Keep a `<title>` tag for your SVG can help Safari generate correct post title for its Reader mode:
```html
```
<svg xmlns="http://www.w3.org/2000/svg" width="2175" height="465" viewBox="0 0 2175 465">
<title>Cool Article</title>
Expand Down

0 comments on commit c5c71f2

Please sign in to comment.