Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Quick doc update (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-stitt authored Mar 7, 2018
1 parent d7f570e commit afb79f2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# rise

Powerful text interpolation. Documentation can be found [here](http://risecli.readthedocs.io/en/latest/).
Powerful text interpolation. Documentation can be found [here](https://openpixel.gitbooks.io/rise).

Note: rise is still in development and is subject to breaking changes until we reach our first major release.

Expand Down
18 changes: 9 additions & 9 deletions docs/interpolation/maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

### Examples

```
has({"foo": "bar"}, "foo") // true
```dart
${has({"foo": "bar"}, "foo")} // true
```

---
Expand All @@ -31,9 +31,9 @@ has({"foo": "bar"}, "foo") // true

### Examples

```
map("foo", "bar") // {"foo": "bar"}
map("foo", list(1, 2, 3), "bar", list(3, 2, 1)) // {"foo": [1, 2, 3], "bar": [3, 2, 1]}
```dart
${map("foo", "bar")} // {"foo": "bar"}
${map("foo", list(1, 2, 3), "bar", list(3, 2, 1))} // {"foo": [1, 2, 3], "bar": [3, 2, 1]}
```

---
Expand All @@ -50,8 +50,8 @@ map("foo", list(1, 2, 3), "bar", list(3, 2, 1)) // {"foo": [1, 2, 3], "bar": [3,

### Examples

```
keys(map("foo", "bar")) // ["foo"]
```dart
${keys(map("foo", "bar"))} // ["foo"]
```

---
Expand All @@ -67,6 +67,6 @@ keys(map("foo", "bar")) // ["foo"]

### Examples

```
merge(map("foo", "bar"), map("foo", "bar2", "hello", "there")) // {"foo": "bar2", "hello": "there"}
```dart
${merge(map("foo", "bar"), map("foo", "bar2", "hello", "there"))} // {"foo": "bar2", "hello": "there"}
```
24 changes: 12 additions & 12 deletions docs/interpolation/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

### Examples

```
lower("FOO") // foo
```dart
${lower("FOO")} // foo
```

---
Expand All @@ -29,8 +29,8 @@ lower("FOO") // foo

### Examples

```
upper("foo") // FOO
```dart
${upper("foo")} // FOO
```

---
Expand All @@ -48,8 +48,8 @@ upper("foo") // FOO

### Examples

```
join(",", ["foo", "bar"]) // "foo,bar"
```dart
${join(",", ["foo", "bar"])} // "foo,bar"
```

---
Expand All @@ -67,8 +67,8 @@ join(",", ["foo", "bar"]) // "foo,bar"

### Examples

```
split("foo,bar", ",") // ["foo", "bar"]
```dart
${split("foo,bar", ",")} // ["foo", "bar"]
```

---
Expand All @@ -88,8 +88,8 @@ split("foo,bar", ",") // ["foo", "bar"]

### Examples

```
replace("!!!hello!!!", "!", "", -1) // "hello"
```dart
${replace("!!!hello!!!", "!", "", -1)} // "hello"
```

---
Expand All @@ -107,6 +107,6 @@ replace("!!!hello!!!", "!", "", -1) // "hello"

### Examples

```
contains("foo bar", "foo") // true
```dart
${contains("foo bar", "foo")} // true
```

0 comments on commit afb79f2

Please # to comment.