Skip to content

Commit

Permalink
try highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaohaoyang committed Feb 29, 2016
1 parent 065c088 commit c044593
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ github_url: "https://github.com/Gaohaoyang"

# Build settings
markdown: kramdown
kramdown:
input: GFM
auto_ids: true
auto_id_prefix: 'id-'
8 changes: 8 additions & 0 deletions _posts/2016-02-16-welcome-to-jekyll.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}

```ruby
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
```

Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].

[jekyll-docs]: http://jekyllrb.com/docs/home
Expand Down

0 comments on commit c044593

Please sign in to comment.