diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-08-10 16:35:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-08-10 16:35:29 -0700 |
commit | 04ca8f5defd0f032e93c0bdbd1ed478f4a1b4ee4 (patch) | |
tree | c0d61f2035646c6e0cd79eeee7c3a8e7a3a7475e /Readme.md | |
parent | 28fd2290ec02a5b9e519129234a55c089b02bbc0 (diff) | |
download | mu-04ca8f5defd0f032e93c0bdbd1ed478f4a1b4ee4.tar.gz |
1972 - resize Readme images to match text size
Now that we have larger-res images for the Readme they look good even if the browser is magnified with ctrl-+ (like mine is). factorial-test.png looks about the same size as surrounding text at 250px wide. Original size is 330px. factorial.png original size is 450px. So its width should be 340px. chessboard-test.png original size is 423px. So its width should be 320px.
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Readme.md b/Readme.md index 0fe805d8..47359cd4 100644 --- a/Readme.md +++ b/Readme.md @@ -79,7 +79,7 @@ compiling. As a sneak peek, here's how you compute factorial in Mu: -![code example](html/factorial.png) +<img alt='code example' src='html/factorial.png' width='330px'> Mu functions or 'recipes' are lists of instructions, one to a line. Each instruction operates on some *ingredients* and returns some *products*. @@ -123,7 +123,7 @@ You can also run its unit tests: Here's what one of the tests inside `factorial.mu` looks like: -![test example](html/factorial-test.png) +<img alt='test example' src='html/factorial-test.png' width='250px'> Every test conceptually spins up a really lightweight virtual machine, so you can do things like check the value of specific locations in memory. You can @@ -131,7 +131,7 @@ also print to screen and check that the screen contains what you expect at the end of a test. For example, `chessboard.mu` checks the initial position of a game of chess (delimiting the edges of the screen with periods): -![screen test](html/chessboard-test.png) +<img alt='screen test' src='html/chessboard-test.png' width='320px'> Similarly you can fake the keyboard to pretend someone typed something: |