Skip to content

Commit

Permalink
misc: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
radulucut committed Jul 31, 2024
1 parent 6bfefa9 commit e3c0cc6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HTML-like DSL that that can be converted into HTML.

![Test](https://github.com/radulucut/htnoml/actions/workflows/test.yml/badge.svg)

### Example of HTnoML syntax
### HTnoML syntax

```htnoml
{:html
Expand All @@ -21,6 +21,24 @@ HTML-like DSL that that can be converted into HTML.
}
```

HTML equivalent:

```html
<html>
<head>
<meta charset="utf-8" />
<title>This is a HTML5 template</title>
<meta name="description" content="This is a HTML5 template" />
<meta name="author" content="Radu Lucut" />
<link rel="stylesheet" href="css/style.css" />
</head>

<body>
<div class="container main">This is HTnoML syntax</div>
</body>
</html>
```

### Usage

```go
Expand Down

0 comments on commit e3c0cc6

Please sign in to comment.