md4x 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/types.d.mts +3 -2
- package/package.json +1 -1
package/lib/types.d.mts
CHANGED
|
@@ -51,9 +51,10 @@ export interface HtmlOptions extends RenderOptions {
|
|
|
51
51
|
full?: boolean;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Custom highlighter function for fenced code blocks. If provided,
|
|
54
|
+
* Custom highlighter function for fenced code blocks. If provided, code blocks
|
|
55
|
+
* are passed through this callback which can return custom HTML-highlighted output.
|
|
55
56
|
*/
|
|
56
|
-
highlighter
|
|
57
|
+
highlighter?: CodeBlockHighlighter;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export interface CodeBlock {
|