add initial marp implementation with sample content and build configuration
This commit is contained in:
7
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.d.ts
generated
vendored
Normal file
7
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Configuration } from '../Configuration.js';
|
||||
import { ParseMethod } from '../Types.js';
|
||||
export declare const ENCLOSE_OPTIONS: {
|
||||
[key: string]: number;
|
||||
};
|
||||
export declare let EncloseMethods: Record<string, ParseMethod>;
|
||||
export declare const EncloseConfiguration: Configuration;
|
||||
30
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.js
generated
vendored
Normal file
30
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.EncloseConfiguration = exports.EncloseMethods = exports.ENCLOSE_OPTIONS = void 0;
|
||||
var Configuration_js_1 = require("../Configuration.js");
|
||||
var SymbolMap_js_1 = require("../SymbolMap.js");
|
||||
var ParseUtil_js_1 = __importDefault(require("../ParseUtil.js"));
|
||||
exports.ENCLOSE_OPTIONS = {
|
||||
'data-arrowhead': 1,
|
||||
color: 1,
|
||||
mathcolor: 1,
|
||||
background: 1,
|
||||
mathbackground: 1,
|
||||
'data-padding': 1,
|
||||
'data-thickness': 1
|
||||
};
|
||||
exports.EncloseMethods = {};
|
||||
exports.EncloseMethods.Enclose = function (parser, name) {
|
||||
var notation = parser.GetArgument(name).replace(/,/g, ' ');
|
||||
var attr = parser.GetBrackets(name, '');
|
||||
var math = parser.ParseArg(name);
|
||||
var def = ParseUtil_js_1.default.keyvalOptions(attr, exports.ENCLOSE_OPTIONS);
|
||||
def.notation = notation;
|
||||
parser.Push(parser.create('node', 'menclose', [math], def));
|
||||
};
|
||||
new SymbolMap_js_1.CommandMap('enclose', { enclose: 'Enclose' }, exports.EncloseMethods);
|
||||
exports.EncloseConfiguration = Configuration_js_1.Configuration.create('enclose', { handler: { macro: ['enclose'] } });
|
||||
//# sourceMappingURL=EncloseConfiguration.js.map
|
||||
1
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/input/tex/enclose/EncloseConfiguration.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EncloseConfiguration.js","sourceRoot":"","sources":["../../../../ts/input/tex/enclose/EncloseConfiguration.ts"],"names":[],"mappings":";;;;;;AAwBA,wDAAkD;AAElD,gDAA2C;AAE3C,iEAAwC;AAO3B,QAAA,eAAe,GAA4B;IACtD,gBAAgB,EAAE,CAAC;IACnB,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,CAAC;IACb,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,CAAC;IACjB,gBAAgB,EAAE,CAAC;CACpB,CAAC;AAIS,QAAA,cAAc,GAAgC,EAAE,CAAC;AAS5D,sBAAc,CAAC,OAAO,GAAG,UAAS,MAAiB,EAAE,IAAY;IAC/D,IAAI,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC3D,IAAM,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC1C,IAAM,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACnC,IAAM,GAAG,GAAG,sBAAS,CAAC,aAAa,CAAC,IAAI,EAAE,uBAAe,CAAC,CAAC;IAC3D,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;IACxB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC;AAGF,IAAI,yBAAU,CAAC,SAAS,EAAE,EAAC,OAAO,EAAE,SAAS,EAAC,EAAE,sBAAc,CAAC,CAAC;AAGnD,QAAA,oBAAoB,GAAG,gCAAa,CAAC,MAAM,CACtD,SAAS,EAAE,EAAC,OAAO,EAAE,EAAC,KAAK,EAAE,CAAC,SAAS,CAAC,EAAC,EAAC,CAC3C,CAAC"}
|
||||
Reference in New Issue
Block a user