add initial marp implementation with sample content and build configuration
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
import StackItemFactory from './StackItemFactory.js';
|
||||
import { Tags } from './Tags.js';
|
||||
import { SubHandlers } from './MapHandler.js';
|
||||
import { NodeFactory } from './NodeFactory.js';
|
||||
import { MmlNode } from '../../core/MmlTree/MmlNode.js';
|
||||
import TexParser from './TexParser.js';
|
||||
import { OptionList } from '../../util/Options.js';
|
||||
import { ParserConfiguration } from './Configuration.js';
|
||||
export default class ParseOptions {
|
||||
handlers: SubHandlers;
|
||||
options: OptionList;
|
||||
itemFactory: StackItemFactory;
|
||||
nodeFactory: NodeFactory;
|
||||
tags: Tags;
|
||||
packageData: Map<string, any>;
|
||||
parsers: TexParser[];
|
||||
root: MmlNode;
|
||||
nodeLists: {
|
||||
[key: string]: MmlNode[];
|
||||
};
|
||||
error: boolean;
|
||||
constructor(configuration: ParserConfiguration, options?: OptionList[]);
|
||||
pushParser(parser: TexParser): void;
|
||||
popParser(): void;
|
||||
get parser(): TexParser;
|
||||
clear(): void;
|
||||
addNode(property: string, node: MmlNode): void;
|
||||
getList(property: string): MmlNode[];
|
||||
removeFromList(property: string, nodes: MmlNode[]): void;
|
||||
private inTree;
|
||||
}
|
||||
Reference in New Issue
Block a user