Skip to content

Commit

Permalink
feat(docs): better highlighting examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Nov 5, 2015
1 parent 170dd42 commit f93d80a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _app/_posts/note/2014-06-06-markdown-features-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ tags: miscellaneous
end
end

## GFM Code Blocks (`fenced_code_blocks`)
## Liquid Tag with `linenos` Support

```ruby
{% highlight ruby linenos %}
def show
@widget = Widget(params[:id])
respond_to do |format|
format.html # show.html.erb
format.json { render json: @widget }
end
end
```
{% endhighlight %}

## GFM Code Blocks (`fenced_code_blocks`)

```css
/* Background color function */
Expand Down

0 comments on commit f93d80a

Please sign in to comment.