use markdown syntax for images

Now they render right on non-Github forges.
This commit is contained in:
Kartik K. Agaram 2023-11-26 18:06:52 -08:00
parent 1316940f25
commit 618b49fbf3
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ make linux # replace with 'macosx', etc. depending on your OS
src/teliva hanoi.tlv src/teliva hanoi.tlv
``` ```
<img alt='screenshot of Teliva running the Towers of Hanoi' src='doc/hanoi.png'> ![screenshot of Teliva running the Towers of Hanoi](doc/hanoi.png)
No matter what app you run, you are always guaranteed access to a single No matter what app you run, you are always guaranteed access to a single
obvious, consistent way (currently the hotkey `ctrl-u`) to inspect its obvious, consistent way (currently the hotkey `ctrl-u`) to inspect its
@ -35,7 +35,7 @@ When you look under the hood of an app, the first thing you see is a
_big-picture view_ which shows the app's major data structures and a top-down _big-picture view_ which shows the app's major data structures and a top-down
view of the app's code. view of the app's code.
<img alt='screenshot of big-picture view for the Towers of Hanoi' src='doc/hanoi-big-picture.png'> ![screenshot of big-picture view for the Towers of Hanoi](doc/hanoi-big-picture.png)
Select a definition, make a change, hit `ctrl-x`, and the app will run with Select a definition, make a change, hit `ctrl-x`, and the app will run with
your updates. ([video](https://archive.org/details/akkartik-2021-11-14)) your updates. ([video](https://archive.org/details/akkartik-2021-11-14))

View File

@ -94,6 +94,7 @@ function temporary_filename_in_same_volume(filename)
-- file doesn't exist yet; create a placeholder and return it -- file doesn't exist yet; create a placeholder and return it
local handle = io.open(temporary_filename, 'w') local handle = io.open(temporary_filename, 'w')
if handle == nil then if handle == nil then
-- HERE: if an app doesn't have permissions, attempts to write to disk eventually get here
error("this is unexpected; I can't create temporary files..") error("this is unexpected; I can't create temporary files..")
end end
handle:close() handle:close()