fix highlighting
This commit is contained in:
parent
ef8b7c680c
commit
82b69ae60a
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ The easiest way to try out Mithril is to include it from a CDN, and follow this
|
||||||
|
|
||||||
Let's create an HTML file to follow along:
|
Let's create an HTML file to follow along:
|
||||||
|
|
||||||
```html
|
```markup
|
||||||
<body></body>
|
<body></body>
|
||||||
<script src="http://cdn.rawgit.com/lhorie/mithril.js/rewrite/mithril.js"></script>
|
<script src="http://cdn.rawgit.com/lhorie/mithril.js/rewrite/mithril.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -126,7 +126,7 @@ m.mount(root, Hello)
|
||||||
|
|
||||||
As you would expect, doing so creates this markup:
|
As you would expect, doing so creates this markup:
|
||||||
|
|
||||||
```html
|
```markup
|
||||||
<main>
|
<main>
|
||||||
<h1 class="title">My first app</h1>
|
<h1 class="title">My first app</h1>
|
||||||
<button>A button</button>
|
<button>A button</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue