Fix column overflow and render math with KaTeX
All checks were successful
Deploy to S3 / deploy (push) Successful in 1m41s

- minmax(0,1fr)+min-width:0 and pre-wrap so a long fenced line no longer blows out the grid
- build-time KaTeX via @vscode/markdown-it-katex; ship katex CSS+fonts and link in layouts
This commit is contained in:
2026-06-28 01:20:01 +00:00
parent de9a868050
commit afb33e26a6
6 changed files with 53 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
<title>{% if title %}{{ title }} — un:prompted{% else %}un:prompted{% endif %}</title>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/katex.min.css">
</head>
<body>
<header class="site-header">

View File

@@ -6,6 +6,7 @@
<title>{{ title | stripMarkdown }} — un:prompted</title>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/katex.min.css">
</head>
<body>
<header class="site-header">