@ai-matrx/content-ir 0.14.2 → 0.14.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.14.3
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/content-ir-core/v0.14.2..npm/content-ir-core/v0.14.3 -- apps/shared/content-ir-core`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.14.2 — 2026-09-25
4
10
 
5
11
  **`/source` — a tilde fence locks what the renderer draws inside it**
package/dist/index.cjs CHANGED
@@ -5487,6 +5487,37 @@ var NOT_WHITESPACE = /\S/;
5487
5487
  var DIRECTIVE_OPEN = /^(:{2,})([A-Za-z][\w-]*)/;
5488
5488
  var MKDOCS_OPEN = /^(!!!|\?\?\?\+?)[ \t]+([A-Za-z][\w-]*)/;
5489
5489
  var CALLOUT_OPEN = /^>[ \t]*\[!([A-Za-z][\w-]*)\]([+-])?/;
5490
+ var CALLOUT_NAMES = /* @__PURE__ */ new Set([
5491
+ "note",
5492
+ "seealso",
5493
+ "example",
5494
+ "tip",
5495
+ "hint",
5496
+ "important",
5497
+ "warning",
5498
+ "warn",
5499
+ "attention",
5500
+ "caution",
5501
+ "danger",
5502
+ "error",
5503
+ "failure",
5504
+ "fail",
5505
+ "missing",
5506
+ "bug",
5507
+ "info",
5508
+ "abstract",
5509
+ "summary",
5510
+ "tldr",
5511
+ "todo",
5512
+ "success",
5513
+ "check",
5514
+ "done",
5515
+ "question",
5516
+ "help",
5517
+ "faq",
5518
+ "quote",
5519
+ "cite"
5520
+ ]);
5490
5521
  var FOOTNOTE_DEF = /^\[\^([^\]\s]+)\]:/;
5491
5522
  function countStructuralBraces(source) {
5492
5523
  let opens = 0;
@@ -5880,7 +5911,7 @@ var Tokenizer = class {
5880
5911
  /** A blockquote whose first line is `> [!TYPE]…` — every following `>` line belongs to it. */
5881
5912
  callout(p, li, t) {
5882
5913
  const open = CALLOUT_OPEN.exec(t);
5883
- if (!open) return null;
5914
+ if (!open || !CALLOUT_NAMES.has(open[1].toLowerCase())) return null;
5884
5915
  let last = li;
5885
5916
  for (let k = li + 1; k < this.lineCount; k++) {
5886
5917
  if (!/^ {0,3}>/.test(this.lineText(k))) break;
@@ -6860,6 +6891,7 @@ function mapRange(changes, start, end, unit = "utf16") {
6860
6891
  }
6861
6892
 
6862
6893
  exports.ACTION_BY_CLASS = ACTION_BY_CLASS;
6894
+ exports.CALLOUT_NAMES = CALLOUT_NAMES;
6863
6895
  exports.CAPABILITY_BY_CLASS = CAPABILITY_BY_CLASS;
6864
6896
  exports.CLASSES = CLASSES;
6865
6897
  exports.DIRECTIVE_VERSION = DIRECTIVE_VERSION;