about summary refs log tree commit diff stats
path: root/subx/Readme.md
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-30 10:16:33 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-30 10:16:33 -0800
commit070659f9173f547011771ee73633904227e1828a (patch)
treeeb9debc0ee025dfec926fd1c27b562085e56f420 /subx/Readme.md
parent44bb71e7de835abb5697b6712c79e5f4799fb77c (diff)
downloadmu-070659f9173f547011771ee73633904227e1828a.tar.gz
4944
Improve syntax highlighting in the Readme.
Diffstat (limited to 'subx/Readme.md')
-rw-r--r--subx/Readme.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index ed09d502..de7a0fa7 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -21,7 +21,7 @@ by:
    native execution (which will also work), but there's more sanity checking,
    and more descriptive error messages for common low-level problems.
 
-   ```
+   ```sh
    $ ./subx translate examples/ex1.subx -o examples/ex1
    $ ./examples/ex1  # only on Linux
    $ echo $?
@@ -35,7 +35,7 @@ by:
    very little to do, making it feasible to reimplement in itself. Programmers
    have to explicitly specify all opcodes and operands.
 
-   ```
+   ```sh (just for syntax highlighting)
    # exit(42)
    bb/copy-to-EBX  0x2a/imm32  # 42 in hex
    b8/copy-to-EAX  1/imm32/exit
@@ -142,7 +142,7 @@ useful to catch such errors early.
 
 Try running this example now:
 
-```
+```sh
 $ ./subx translate examples/ex3.subx -o examples/ex3
 $ ./subx run examples/ex3
 $ echo $?
@@ -151,7 +151,7 @@ $ echo $?
 
 If you're on Linux you can also run it natively:
 
-```
+```sh
 $ ./examples/ex3
 $ echo $?
 55