Skip to content

Commit

Permalink
more toturial
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Sep 5, 2014
1 parent 12c1005 commit be4a040
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func main() {

```

## Section
## Code sections

In `gohtml` you may insert `Go` code snippet, like this:
```html
Expand All @@ -114,7 +114,8 @@ In `gohtml` you may insert `Go` code snippet, like this:
}
```

And you may also add `javascript` code in `gohtml`, where ctx is `var ctx *web.Context`, which is a extend for web.Context, details please refer to [sipin/web](http://github.com/sipin/web).
For more details syntax please refer to [Web programming using the Razor syntax](http://www.asp.net/web-pages/tutorials/basics/2-introduction-to-asp-net-web-programming-using-the-razor-syntax).
And you may also add `javascript` code in `gohtml`, where ctx is `var ctx *web.Context`, details please refer to [sipin/web](http://github.com/sipin/web).


```javascript
Expand Down

0 comments on commit be4a040

Please sign in to comment.