mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Expose dom tree (#1446)
* Exposes domTree * Exposing domTree * Update per comment.
This commit is contained in:
8
katex.js
8
katex.js
@@ -189,4 +189,12 @@ export default {
|
||||
* adds a new macro to builtin macro list
|
||||
*/
|
||||
__defineMacro: defineMacro,
|
||||
/**
|
||||
* Expose the dom tree node types, which can be useful for type checking nodes.
|
||||
*
|
||||
* NOTE: This method is not currently recommended for public use.
|
||||
* The internal tree representation is unstable and is very likely
|
||||
* to change. Use at your own risk.
|
||||
*/
|
||||
__domTree: domTree,
|
||||
};
|
||||
|
Reference in New Issue
Block a user