1
0

add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import TexParser from '../TexParser.js';
import { Symbol } from '../Symbol.js';
import { Args, Attributes, ParseMethod } from '../Types.js';
declare namespace NewcommandUtil {
function disassembleSymbol(name: string, symbol: Symbol): Args[];
function assembleSymbol(args: Args[]): Symbol;
function GetCSname(parser: TexParser, cmd: string): string;
function GetCsNameArgument(parser: TexParser, name: string): string;
function GetArgCount(parser: TexParser, name: string): string;
function GetTemplate(parser: TexParser, cmd: string, cs: string): number | string[];
function GetParameter(parser: TexParser, name: string, param: string): string;
function MatchParam(parser: TexParser, param: string): number;
function addDelimiter(parser: TexParser, cs: string, char: string, attr: Attributes): void;
function addMacro(parser: TexParser, cs: string, func: ParseMethod, attr: Args[], symbol?: string): void;
function addEnvironment(parser: TexParser, env: string, func: ParseMethod, attr: Args[]): void;
const NEW_DELIMITER = "new-Delimiter";
const NEW_COMMAND = "new-Command";
const NEW_ENVIRONMENT = "new-Environment";
}
export default NewcommandUtil;