aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 02861c2..0a7f158 100644
--- a/README.md
+++ b/README.md
@@ -109,11 +109,13 @@ program holds an SDS string and not a C string, however this is not mandatory.
This is the simplest SDS program you can write that does something:
+ ```c
sds mystring = sdsnew("Hello World!");
printf("%s\n", mystring);
sdsfree(mystring);
output> Hello World!
+ ```
The above small program already shows a few important things about SDS: