Skip to content

Commit 063c59f

Browse files
genebmooinglemur
andauthored
[BASIC] Update to the BASIC Programming chapter that fills all the "holes". (#281)
* WIP: Completed to the IF...THEN statement. * WIP: Completed to the NEXT statement. * WIP: Added images for the PRINT command. * WIP: Added more graphics and content for the PRINT statement section * WIP: Added more images for PRINT, completed to RIGHT$. * WIP: Completed to STR$. * WIP - Started adding internal links to keyword references. * Change references of the Logo key to the ALT key. * WIP: All remaining BASIC keywords documented. * Moved CSS styling to the correct place for it. * WIP: Edited down to CONT. * WIP: All keyword documentation is complete. Added new graphics to replace two of the quote mode examples. * Fixed minor capitalization issue. * add EOF newline --------- Co-authored-by: MooingLemur <mooinglemur@users.noreply.github.com>
1 parent fd4a185 commit 063c59f

32 files changed

Lines changed: 1913 additions & 439 deletions

.gh/markdown.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,43 @@ table tr {
133133
table tr:nth-child(2n) {
134134
background-color: whitesmoke;
135135
}
136+
137+
/*
138+
* The mark and marksq styles will change the colors of the Markdown highlight feature based on
139+
* the viewer's dark mode settings. Light mode will get white text on a black background,
140+
* and dark mode should get black text on a white background.
141+
* It also adds a border radius to the background to give the highlighted items a more
142+
* "key-like" look.
143+
*/
144+
145+
mark { /* gives a rounded "key" look to highlighted items. */
146+
background-color: #000000;
147+
color: #f5f5f5;
148+
border-radius: 5px;
149+
padding: 0 4px;
150+
}
151+
152+
/* Dark Mode */
153+
@media (prefers-color-scheme: dark) {
154+
mark {
155+
background-color: #f5f5f5;
156+
color: #000000;
157+
border-radius: 5px;
158+
padding: 0 4px;
159+
}
160+
}
161+
162+
marksq { /* used to letters with a square background */
163+
background-color: #000000;
164+
color: #f5f5f5;
165+
padding: 0 4px;
166+
}
167+
168+
/* Dark Mode */
169+
@media (prefers-color-scheme: dark) {
170+
marksq {
171+
background-color: #f5f5f5;
172+
color: #000000;
173+
padding: 0 4px;
174+
}
175+
}

X16 Reference - 04 - BASIC.md

Lines changed: 1873 additions & 439 deletions
Large diffs are not rendered by default.

images/norm-lower-bar.png

472 Bytes
Loading

images/print-color-example.png

5.71 KB
Loading
1.68 KB
Loading

images/rvs-E.png

701 Bytes
Loading

images/rvs-H.png

677 Bytes
Loading

images/rvs-I.png

678 Bytes
Loading

images/rvs-N.png

693 Bytes
Loading

images/rvs-Q.png

826 Bytes
Loading

0 commit comments

Comments
 (0)