Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yosssi committed Feb 25, 2014
1 parent 130daf9 commit 59e7bbe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ func main() {

## Syntax

### doctype

```gold
doctype html
```

becomes

```html
<!DOCTYPE html>
```

### Creating Simple Tags

```gold
Expand Down Expand Up @@ -152,4 +164,22 @@ becomes
<button data-action="btnaction" style="font-weight: bold; font-size: 1rem;">This is a button</button>
```

### IDs and Classes

```gold
h1#title.main-title Welcome to Gold
#container
.wrapper
| Hello Gold
```

becomes

```html
<h1 id="title" class="main-title">Welcome to Gold</h1>
<div id="container">
<div class="wrapper">Hello Gold</div>
</div>
```

## APIs

0 comments on commit 59e7bbe

Please sign in to comment.