summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru-Sergiu Marton <brown121407@member.fsf.org>2020-04-18 14:38:41 +0300
committerAlexandru-Sergiu Marton <brown121407@member.fsf.org>2020-04-18 14:38:41 +0300
commit6e27bc5ca59b747886874f239726267755de61a5 (patch)
tree5ff03b182e8e902ffa65462c7280ae5afee35255
parent76e34c072fb6783dc7bb180f423687a1bf9ea1f9 (diff)
Fix some formatting in the README.
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8fa3e07..440be15 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,7 @@ prefix and `f p` with the `p:` prefix.
Read binary data from `path`.
Return the binary data as a bytevector.
+
```scheme
(f:read-bytes "path/to/binary/data")
```
@@ -67,6 +68,7 @@ Return the binary data as a bytevector.
Read text from `path`.
Return the text as a string.
+
```scheme
(f:read-text "path/to/file.txt")
```
@@ -76,7 +78,7 @@ Read a single line of text from `path`.
Return the line as a string. It doesn't contain a newline character.
-```
+```scheme
(f:read-line "path/to/file.txt")
```
@@ -84,7 +86,8 @@ Return the line as a string. It doesn't contain a newline character.
Read all the lines of a file.
Returns the lines as a list of strings.
-```
+
+```scheme
(f:read-lines "path/to/file.txt")
```