diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-30 00:02:42 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-30 00:02:42 -0800 |
commit | 08a0eed699b8ea07d37163aba610c8e04feee003 (patch) | |
tree | aab05fd9b23ca4f5cfc6492ade82896f3ba5e4bb /html/subx/examples/ex4.subx.html | |
parent | ac07e589b3e912c704c2011d543f18b16712ff15 (diff) | |
download | mu-08a0eed699b8ea07d37163aba610c8e04feee003.tar.gz |
4891
Couple more tweaks to html rendering: a) SubX definitions no longer link redundantly to themselves. This long-standing issue turns out to be tractable to solve for SubX files since the syntax is so simple. b) Fix links to SubX definitions in other directories. I forgot that I have to always generate tags from the directory of the file being linkified. c) Fix link colors. Before we lost all syntax highlighting for functions and Globals. Now they maintain their colors, just add an underline.
Diffstat (limited to 'html/subx/examples/ex4.subx.html')
-rw-r--r-- | html/subx/examples/ex4.subx.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/html/subx/examples/ex4.subx.html b/html/subx/examples/ex4.subx.html index cb139f48..d4cb221e 100644 --- a/html/subx/examples/ex4.subx.html +++ b/html/subx/examples/ex4.subx.html @@ -12,6 +12,7 @@ <!-- pre { font-family: monospace; color: #000000; background-color: #c6c6c6; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } +a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } .subxS2Comment { color: #8a8a8a; } @@ -65,7 +66,7 @@ if ('onhashchange' in window) { <span id="L10" class="LineNr">10 </span><span class="subxS1Comment"># . fd = 0 (stdin)</span> <span id="L11" class="LineNr">11 </span>bb/copy-to-EBX 0/imm32 <span id="L12" class="LineNr">12 </span><span class="subxS1Comment"># . data = X (location to write result to)</span> -<span id="L13" class="LineNr">13 </span>b9/copy-to-ECX <span class="SpecialChar">X</span>/imm32 +<span id="L13" class="LineNr">13 </span>b9/copy-to-ECX <span class="SpecialChar"><a href='ex4.subx.html#L37'>X</a></span>/imm32 <span id="L14" class="LineNr">14 </span><span class="subxS1Comment"># . size = 1 character</span> <span id="L15" class="LineNr">15 </span>ba/copy-to-EDX 1/imm32 <span id="L16" class="LineNr">16 </span><span class="subxS1Comment"># . syscall</span> @@ -76,7 +77,7 @@ if ('onhashchange' in window) { <span id="L21" class="LineNr">21 </span><span class="subxS1Comment"># . fd = 1 (stdout)</span> <span id="L22" class="LineNr">22 </span>bb/copy-to-EBX 1/imm32 <span id="L23" class="LineNr">23 </span><span class="subxS1Comment"># . initialize X (location to read from)</span> -<span id="L24" class="LineNr">24 </span>b9/copy-to-ECX <span class="SpecialChar">X</span>/imm32 +<span id="L24" class="LineNr">24 </span>b9/copy-to-ECX <span class="SpecialChar"><a href='ex4.subx.html#L37'>X</a></span>/imm32 <span id="L25" class="LineNr">25 </span><span class="subxS1Comment"># . size = 1 character</span> <span id="L26" class="LineNr">26 </span>ba/copy-to-EDX 1/imm32 <span id="L27" class="LineNr">27 </span><span class="subxS1Comment"># . syscall</span> @@ -89,7 +90,7 @@ if ('onhashchange' in window) { <span id="L34" class="LineNr">34 </span> <span id="L35" class="LineNr">35 </span>== data <span id="L36" class="LineNr">36 </span> -<span id="L37" class="LineNr">37 </span><span class="SpecialChar">X</span>: +<span id="L37" class="LineNr">37 </span><span class="SpecialChar"><a href='ex4.subx.html#L37'>X</a></span>: <span id="L38" class="LineNr">38 </span> 00 00 00 00 <span class="subxComment"># space for read() to write to</span> <span id="L39" class="LineNr">39 </span> <span id="L40" class="LineNr">40 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> |