{
"$type": "site.standard.document",
"canonicalUrl": "https://devlog.croft.click/2025/09/19/technical-polish-typography",
"description": "Swapping to Inter for better readability, adding KaTeX support, and refining prose styling.",
"path": "/2025/09/19/technical-polish-typography",
"publishedAt": "2025-09-19T00:00:00.000Z",
"site": "at://did:plc:ofrbh253gwicbkc5nktqepol/site.standard.publication/3mlen2qhzrt2s",
"tags": [
"website",
"design",
"typography"
],
"textContent": "Typography & Readability\nI've swapped the primary UI font to Inter. This change improves compatibility with markdown parsing and ensures a cleaner, more professional look across different devices.\n\nMathematical Expressions\nIntegrated KaTeX support to allow for high-quality rendering of mathematical expressions within blog posts. This was achieved by importing the KaTeX CSS into the main stylesheet and ensuring the markdown parser correctly handles the syntax.\n\nProse Styling\n- Heading Underlines: Added subtle underlines to headings to improve section separation.\n- Code Blocks: Enhanced code block styling for better contrast and readability.\n- UK Localization: Standardized on en-GB localization, including \"licence\" spelling and UK-specific date formatting for OG images.\n- Copyright: Added a dynamic copyright year range that automatically updates based on the current year.",
"title": "Technical Polish — Inter, KaTeX, and Prose Styling"
}