@podlite/markdown 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/lib/index.cjs +18 -18
- package/lib/index.cjs.map +3 -3
- package/lib/index.esm.js +4 -3
- package/lib/index.esm.js.map +2 -2
- package/package.json +7 -7
- package/tsconfig.tsbuildinfo +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -25116,7 +25116,7 @@ var require_package = __commonJS({
|
|
|
25116
25116
|
"../podlite-schema/package.json"(exports, module) {
|
|
25117
25117
|
module.exports = {
|
|
25118
25118
|
name: "@podlite/schema",
|
|
25119
|
-
version: "0.0.
|
|
25119
|
+
version: "0.0.30",
|
|
25120
25120
|
description: "AST tools for Podlite markup language",
|
|
25121
25121
|
main: "./src/index.ts",
|
|
25122
25122
|
license: "MIT",
|
|
@@ -26459,8 +26459,9 @@ function makeTree() {
|
|
|
26459
26459
|
return chain;
|
|
26460
26460
|
}
|
|
26461
26461
|
function parse5(src, opt = { skipChain: 0, podMode: 1 }) {
|
|
26462
|
-
|
|
26463
|
-
|
|
26462
|
+
const { skipChain = 0, podMode = 1 } = opt;
|
|
26463
|
+
let tree = parser.parse(src, { podMode });
|
|
26464
|
+
if (!skipChain) {
|
|
26464
26465
|
for (let i = 0; i < plugins.length; i++) {
|
|
26465
26466
|
const plugin2 = plugins[i];
|
|
26466
26467
|
const visitor = plugin2(opt);
|