CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
16 lines
562 B
TypeScript
16 lines
562 B
TypeScript
import type { Root } from 'hast';
|
|
type Highlighter = (code: string, language: string, options?: {
|
|
meta?: string;
|
|
}) => Promise<string>;
|
|
/**
|
|
* A hast utility to syntax highlight code blocks with a given syntax highlighter.
|
|
*
|
|
* @param tree
|
|
* The hast tree in which to syntax highlight code blocks.
|
|
* @param highlighter
|
|
* A function which receives the code and language, and returns the HTML of a syntax
|
|
* highlighted `<pre>` element.
|
|
*/
|
|
export declare function highlightCodeBlocks(tree: Root, highlighter: Highlighter): Promise<void>;
|
|
export {};
|