Skip to content

Commit

Permalink
Merge pull request #60 from hivesolutions/hugo/styling
Browse files Browse the repository at this point in the history
style: markdown code block
  • Loading branch information
joamag authored Oct 13, 2023
2 parents 016ca3a + acb9280 commit c784f21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Here's a local configuration file (`appier.json` in the application's root folde

```json
{
"LEVEL" : "INFO"
"LEVEL": "INFO"
}
```

Expand All @@ -27,13 +27,13 @@ LEVEL=WARNING python hello.py

To retrieve configuration values from anywhere in the app do:

```json
```python
level = appier.conf("LEVEL")
```

You can also provide a default, so the app still works when that setting is missing:

```json
```python
level = appier.conf("LEVEL", "INFO")
```

Expand Down

0 comments on commit c784f21

Please sign in to comment.