aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2024-06-12 01:37:40 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2024-06-12 01:37:40 +0200
commitb259af1b4bb64c5033bd9ad155f2ef45938c8584 (patch)
tree992a845f29e8e999c7d1751c2decda1ff32ea0da
parent85dd790817e4766f120fab2335da2006b07b8134 (diff)
downloadtextgraph-b259af1b4bb64c5033bd9ad155f2ef45938c8584.tar.gz
textgraph-b259af1b4bb64c5033bd9ad155f2ef45938c8584.zip
Put examples in code blocks
-rw-r--r--README.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/README.md b/README.md
index 056fa4d..f0e1a26 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,7 @@ Some examples of the different modes, from the same input file with random numbe
## Example 2
Example of a simple sinusoid
### Star
+```
10 ┌──────────────────────────────────────────────────────────────────────┐
8 │ ********** │
6 │ ***** ***** │
@@ -69,7 +70,9 @@ Example of a simple sinusoid
-6 │ **** **** │
-8 │******** **********│
-10└──────────────────────────────────────────────────────────────────────┘
+```
### Ascii
+```
10 ┌──────────────────────────────────────────────────────────────────────┐
8 │ ╭─────────╮ │
6 │ ╭────╯ ╰────╮ │
@@ -80,14 +83,17 @@ Example of a simple sinusoid
-6 │ ╭───╯ ╰───╮ │
-8 ├───────╯ ╰──────────┤
-10└──────────────────────────────────────────────────────────────────────┘
+```
### Braille
+```
10 ┌───────────────────────────────────┐
-8 │ ⠐⠢⠄ ⠠⠔⠂ │
-6 │ ⠢ ⠔ │
-3 │ ⠐⠄ ⠠⠂ │
-1 │ ⠢ ⠔ │
--1 │ ⠂ ⠐ │
--3 │ ⠐⠄ ⠠⠂ │
--6 │ ⠐⠢ ⠔⠂ │
--8 │⠒⠒⠒⠤ ⠤⠒⠒⠒⠤│
+8 │ ⠈⠑⠢⠤⠤⠔⠊⠁ │
+6 │ ⠑⠄ ⠠⠊ │
+3 │ ⠈⠢ ⠔⠁ │
+1 │ ⠑⠄ ⠠⠊ │
+-1 │ ⠡ ⠌ │
+-3 │ ⠈⠢ ⠔⠁ │
+-6 │ ⠈⠑⠄ ⠠⠊⠁ │
+-8 │⠉⠉⠉⠒⠄ ⠠⠒⠉⠉⠉⠒│
-10└───────────────────────────────────┘
+```