add initial marp implementation with sample content and build configuration
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import * as DomUtil from '../common/dom_util.js';
|
||||
import { SemanticTree } from './semantic_tree.js';
|
||||
export function xmlTree(mml) {
|
||||
return getTree(mml).xml();
|
||||
}
|
||||
export function getTree(mml) {
|
||||
return new SemanticTree(mml);
|
||||
}
|
||||
export function getTreeFromString(expr) {
|
||||
const mml = DomUtil.parseInput(expr);
|
||||
return getTree(mml);
|
||||
}
|
||||
Reference in New Issue
Block a user