@player-ui/markdown-plugin 0.13.0-next.4 → 0.13.0-next.6
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.
|
@@ -1911,12 +1911,21 @@ var MarkdownPlugin = function() {
|
|
|
1911
1911
|
var tokenizeContainer = function tokenizeContainer(effects, ok, nok) {
|
|
1912
1912
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
1913
1913
|
};
|
|
1914
|
-
var
|
|
1914
|
+
var markdownLineEndingOrSpace2 = function markdownLineEndingOrSpace2(code) {
|
|
1915
|
+
return code !== null && (code < 0 || code === 32);
|
|
1916
|
+
};
|
|
1917
|
+
var regexCheck2 = function regexCheck2(regex) {
|
|
1918
|
+
return check;
|
|
1919
|
+
function check(code) {
|
|
1920
|
+
return code !== null && code > -1 && regex.test(String.fromCharCode(code));
|
|
1921
|
+
}
|
|
1922
|
+
};
|
|
1923
|
+
var classifyCharacter = // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
1915
1924
|
function classifyCharacter(code) {
|
|
1916
|
-
if (code === null ||
|
|
1925
|
+
if (code === null || markdownLineEndingOrSpace2(code) || unicodeWhitespace2(code)) {
|
|
1917
1926
|
return 1;
|
|
1918
1927
|
}
|
|
1919
|
-
if (
|
|
1928
|
+
if (unicodePunctuation2(code)) {
|
|
1920
1929
|
return 2;
|
|
1921
1930
|
}
|
|
1922
1931
|
};
|
|
@@ -14321,6 +14330,15 @@ var MarkdownPlugin = function() {
|
|
|
14321
14330
|
var containerConstruct = {
|
|
14322
14331
|
tokenize: tokenizeContainer
|
|
14323
14332
|
};
|
|
14333
|
+
// ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
14334
|
+
var asciiAlpha2 = regexCheck2(/[A-Za-z]/);
|
|
14335
|
+
var asciiAlphanumeric2 = regexCheck2(/[\dA-Za-z]/);
|
|
14336
|
+
var asciiAtext2 = regexCheck2(/[#-'*+\--9=?A-Z^-~]/);
|
|
14337
|
+
var asciiDigit2 = regexCheck2(/\d/);
|
|
14338
|
+
var asciiHexDigit2 = regexCheck2(/[\dA-Fa-f]/);
|
|
14339
|
+
var asciiPunctuation2 = regexCheck2(/[!-/:-@[-`{-~]/);
|
|
14340
|
+
var unicodePunctuation2 = regexCheck2(RegExp("\\p{P}|\\p{S}", "u"));
|
|
14341
|
+
var unicodeWhitespace2 = regexCheck2(/\s/);
|
|
14324
14342
|
// ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/attention.js
|
|
14325
14343
|
var attention = {
|
|
14326
14344
|
name: "attention",
|