implement macros

This commit is contained in:
evilchili committed 2026-10-17 13:28:47 -07:00
1 parent a306820a78
commit 241f67fb4d
27 files changed
+597 -257

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
import type { Token, TagCollectionType } from './types';
import type { Token, TagType, TagCollectionType } from './types';
export declare function escapeHtml(source: string): string;
/**
* A configurable markdown <=> HTML converter.
@@ -24,6 +24,7 @@ export declare function escapeHtml(source: string): string;
*/
export declare class HopDown {
tags: TagCollectionType;
macros: TagType | null;
private tokenizer;
constructor(tags?: TagCollectionType | null);
/**