summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-01 22:37:19 +0100
committerTyge Løvset <[email protected]>2020-12-01 22:37:19 +0100
commita754aabd160fc02cf44b4a02deaffff9b233387f (patch)
treebe28cd7337699f15bc42e34c86de25cb197150f0 /docs/cstr_api.md
parentae032cb11e32f08258dd78c23e7624663cd25ef6 (diff)
downloadSTC-modified-a754aabd160fc02cf44b4a02deaffff9b233387f.tar.gz
STC-modified-a754aabd160fc02cf44b4a02deaffff9b233387f.zip
More docs update.
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 5766647f..aa7ec53d 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -138,7 +138,7 @@ These methods may be used by other container types.
(4) uint32_t c_string_hash(const char* str);
```
-Example:
+## Example
```c
#include "stc/cstr.h"
@@ -165,7 +165,9 @@ int main() {
c_del(cstr, &s1, &full_path);
}
-// Output:
+```
+Output:
+```
one-nine-three-seven-five.
one-two-nine-three-seven-five.
one-two-three-seven-five.