Skip to content

Commit

Permalink
README markdown syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
szTheory authored and 5HT committed Mar 4, 2020
1 parent 33aeb4c commit 57b4059
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FORM: Declarative Documents
Intro
-----

```
```erlang
#document { name = Name, sections = [
#sec { name=[<<"Input the password "
"you have received by SMS"/utf8>>,
Expand Down Expand Up @@ -40,7 +40,7 @@ Documents or Forms consist of set of fields grouped
in sections and a row of control buttons.
It mey also contain fields of customizable types.

```
```erlang
-record(document, { ?ITERATOR(feed),
name,
base,
Expand All @@ -50,7 +50,7 @@ It mey also contain fields of customizable types.
access }).
```

```
```erlang
-record(field, { id, sec=1, name, pos, title,
layout, visible=true,
disabled=false, format="~w",
Expand All @@ -64,26 +64,26 @@ It mey also contain fields of customizable types.
length=10, postback }).
```

```
```erlang
-record(sec, { id,
name,
desc="" }).
```
```
```erlang
-record(but, { id,
postback,
name,
title,
sources=[],
class }).
```
```
```erlang
-record(sel, { id,
postback,
name,
title }).
```
```
```erlang
-record(opt, { id,
postback,
name,
Expand All @@ -92,7 +92,7 @@ It mey also contain fields of customizable types.
disabled=false,
noRadioButton=false }).
```
```
```erlang
-record(validation, { name, type, msg,
extract = fun(X) -> X end,
options=[], function,
Expand Down

0 comments on commit 57b4059

Please sign in to comment.