@reiwuzen/blocky 1.4.4 → 1.4.5

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/dist/index.cjs CHANGED
@@ -552,7 +552,8 @@ var TRIGGERS = {
552
552
  "[x]": { type: "todo", meta: { depth: 0, checked: true } },
553
553
  "#": { type: "heading1" },
554
554
  "##": { type: "heading2" },
555
- "###": { type: "heading3" }
555
+ "###": { type: "heading3" },
556
+ "```": { type: "code" }
556
557
  };
557
558
  function getRawText(block) {
558
559
  const first = block.content[0];
package/dist/index.js CHANGED
@@ -484,7 +484,8 @@ var TRIGGERS = {
484
484
  "[x]": { type: "todo", meta: { depth: 0, checked: true } },
485
485
  "#": { type: "heading1" },
486
486
  "##": { type: "heading2" },
487
- "###": { type: "heading3" }
487
+ "###": { type: "heading3" },
488
+ "```": { type: "code" }
488
489
  };
489
490
  function getRawText(block) {
490
491
  const first = block.content[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reiwuzen/blocky",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Pure TypeScript block editor engine. Headless, framework-agnostic — content mutation, formatting, transforms, serialization, and history.",
5
5
  "author": "Rei WuZen",
6
6
  "license": "ISC",