mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
manuals code finished
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -192,6 +192,11 @@ screen_copy
|
||||
ldy #0
|
||||
@
|
||||
lda (src),y
|
||||
cmp #$fe ; chapter marker
|
||||
bne not_chapter
|
||||
lda #0
|
||||
beq not_eol
|
||||
not_chapter
|
||||
cmp #$ff ; end of line marker
|
||||
bne not_eol
|
||||
sty next_line_begin
|
||||
|
||||
@@ -55,7 +55,7 @@ for line in md:
|
||||
line = line.replace('ó', 'ɠ') # this is a dirty trick to avoid tripping 'ó' which is a legit LATIN-1 char
|
||||
if line.startswith('#'): # header
|
||||
line = remove_wierd(line)
|
||||
out += '←' + line # header marker
|
||||
out += '←' + line[1:] # header marker
|
||||
out += '-' * len(line) + '\n'
|
||||
else:
|
||||
line = remove_wierd(line)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user