This page showcases some typography options available in silver which is deployed with all snapshot-like media. Observe this link to the repo for further commentary.
Snapshots are essays, deployed to emilia. They are tagged by a list of space-separated tags, then marked by a title and date, all in an HTML comment, ideally near the top of the file.
#include <iostream>
int main(int argc, char *argv[]) {
// does not print hello world.
std::cout << "this text should be syntax-highlighted" << std::endl;
return 0;
}
h1 should see spacing beforeand h1 and h2 headings can be subtitled by prepending a div. However, h1s are given subtitles by default in snapshots.
When printing, there should be a page break after this point. Also, ensure that background graphics are enabled so that code blocks, tables, and blockquotes are rendered correctly.
a dynamically requested subtitle via a div element, Aug. 24, 2021
and tables:
| Function | Namespace |
|---|---|
cout |
std |
| forme | |
| and now | a demonstration of images |
multi-line |
but will require inline HTML As you may observe, display-style may be used by wrapping the syntax in a span element with class katex-display. Surely there is a way to add tags too, but I have not yet figured it out. |

This should not be italicized, but styled as a caption.
In some browsers, autoplay on a video element triggers fullscreen on a mobile device. We should be wary of this and only enable autoplay if this behavior is always desired, or case for mobile.
Another caption, this time on a webm with some , manually italicized. Auto-italicization is easier when the italicization occurs not at the boundaries of the caption.
The CSS supports dark/light themes in VSCode webview preview. Upon printing to HTML, light/dark theme is set by system preference instead. This preference-dependence should be overwritten for purely light/dark themed websites.
things can be tagged by using \tag and as such
equation 1 should have the square root display correctly (inline like as well).
katex.Lists and details/summary should be highlight to distinguish them from regular text.
blockquotes should render fine. Consider how much spacing there should be around it.
a nested blockquote
console.log(`hello-world!`);
markdown.css for more.####### h7 does not exist.
In particular pay attention to latex rendering, and task list rendering, which seem to use separate CSS.
Here is a test of the snapshot interlinking framework, which unfortunately does not work in local browser, but should work in VSCode & on-server.
And a summary for (LaTeX and inline code works if <p> display is changed to inline, which is default in markdown.css):
The details!
Note that wrapped markdown also works: , as long as it is preceded by a blank line.
Unfortunately, there is currently (March 22, 2025) no way to auto-open all details during a print procedure: https://github.com/w3c/csswg-drafts/issues/2084.
A short font comparison.
敏捷的棕色狐狸跳过了那只懒狗。[fangsong, kaiti]
敏捷的棕色狐狸跳过了那只懒狗。[fangsong, kaiti]
敏捷的棕色狐狸跳过了那只懒狗。[fangsong, kaiti]
The quick brown fox jumps over the lazy dog. [serif, latin-modern-roman-10]
The quick brown fox jumps over the lazy dog. [serif, latin-modern-roman-10]
The quick brown fox jumps over the lazy dog. [serif, latin-modern-roman-10]
The quick brown fox jumps over the lazy dog. [eb-garamond]
The quick brown fox jumps over the lazy dog. [eb-garamond]
The quick brown fox jumps over the lazy dog. [eb-garamond]
The quick brown fox jumps over the lazy dog. [sans-serif, roboto]
The quick brown fox jumps over the lazy dog. [sans-serif, roboto]
The quick brown fox jumps over the lazy dog. [sans-serif, roboto]
The quick brown fox jumps over the lazy dog. [monospace, consolas]
The quick brown fox jumps over the lazy dog. [monospace, consolas]
The quick brown fox jumps over the lazy dog. [monospace, consolas]
The quick brown fox jumps over the lazy dog. [cursive, tangerine]
The quick brown fox jumps over the lazy dog. [cursive, tangerine]
The quick brown fox jumps over the lazy dog. [cursive, tangerine]
Some fonts have custom size-adjusts defined. You may observe them in fonts.css.