
web: Fix issues surrounding markdown rendering. - Fix issue where Mermaid diagrams do not render. - Fix link colors in dark mode. - Fix anchored links triggering router. - Fix issue where links occasionally link to missing page.
25 lines
480 B
TypeScript
25 lines
480 B
TypeScript
declare module "*.css";
|
|
|
|
declare module "*.md" {
|
|
/**
|
|
* The HTML content of the markdown file.
|
|
*/
|
|
const html: string;
|
|
export default html;
|
|
}
|
|
|
|
declare module "*.mdx" {
|
|
/**
|
|
* The HTML content of the markdown file.
|
|
*/
|
|
const html: string;
|
|
export default html;
|
|
}
|
|
|
|
declare namespace Intl {
|
|
class ListFormat {
|
|
constructor(locale: string, args: { [key: string]: string });
|
|
public format: (items: string[]) => string;
|
|
}
|
|
}
|