Skip to content

Commit

Permalink
Merge pull request #40 from jacobtomlinson/fix-32
Browse files Browse the repository at this point in the history
Increase highlight.js version and add additional example
  • Loading branch information
jacobtomlinson committed Aug 17, 2015
2 parents 9887167 + 7e5a1ba commit 00fca25
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="{{ site.baseurl }}/js/jquery.mmenu.min.all.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script type="text/javascript">
$(document).ready(function() {
Expand Down
16 changes: 16 additions & 0 deletions _posts/2014-06-10-carte-noire-in-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@ class Awesome < ActiveRecord::Base
end
{% endhighlight %}

```html
<!DOCTYPE html>
<title>Title</title>

<style>body {width: 500px;}</style>

<script type="application/javascript">
function $init() {return true;}
</script>

<body>
<p checked class="title" id='title'>Title</p>
<!-- here goes the rest of the page -->
</body>
```

# Headings!

They're responsive, and well-proportioned (in `padding`, `line-height`, `margin`, and `font-size`).
Expand Down

0 comments on commit 00fca25

Please sign in to comment.