feat: complete web curriculum visuals

This commit is contained in:
Haoran
2026-05-25 22:37:07 +08:00
parent 956d8272ce
commit fdd7d2a851
155 changed files with 19086 additions and 3584 deletions

View File

@@ -40,6 +40,10 @@ function postProcessHtml(html: string): string {
'<pre class="ascii-diagram"><code$1>'
);
// Keep wide Markdown tables inside the prose column on small screens.
html = html.replace(/<table>/g, '<div class="table-scroll"><table>');
html = html.replace(/<\/table>/g, '</table></div>');
// Mark the first blockquote as hero callout
html = html.replace(
/<blockquote>/,