@readme/markdown 6.36.0 → 6.37.0

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/main.node.js CHANGED
@@ -10791,13 +10791,13 @@ module.exports = function CodeTabsCompiler() {
10791
10791
  /***/ 58:
10792
10792
  /***/ ((module) => {
10793
10793
 
10794
- /* div blocks directly alias the paragraph container; use for display only! */
10795
10794
  module.exports = function DivCompiler() {
10796
10795
  var Compiler = this.Compiler;
10797
10796
  var visitors = Compiler.prototype.visitors;
10798
10797
 
10799
10798
  visitors.div = function compile(node) {
10800
- return visitors.paragraph.call(this, node);
10799
+ var data = node.data.hProperties;
10800
+ return "\n[block:".concat(node.data.hName, "]\n").concat(JSON.stringify(data, null, 2), "\n[/block]\n");
10801
10801
  };
10802
10802
  };
10803
10803
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.36.0",
5
+ "version": "6.37.0",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [
@@ -23,13 +23,13 @@
23
23
  "start": "webpack serve --config ./webpack.dev.js --open --mode development",
24
24
  "sync": "rdme docs ./docs --version=2",
25
25
  "test": "jest --coverage --runInBand --testPathIgnorePatterns '__tests__/browser'",
26
- "test.watch": "jest --watch --coverage=false",
26
+ "test.watch": "jest --watch --coverage=false --testPathIgnorePatterns '__tests__/browser'",
27
27
  "test.browser": "jest --runInBand --testPathPattern '__tests__/browser'",
28
28
  "watch": "webpack -w --progress --mode production"
29
29
  },
30
30
  "dependencies": {
31
31
  "@readme/emojis": "^4.0.0",
32
- "@readme/syntax-highlighter": "^10.14.0",
32
+ "@readme/syntax-highlighter": "^10.14.3",
33
33
  "copy-to-clipboard": "^3.3.1",
34
34
  "hast-util-sanitize": "^4.0.0",
35
35
  "hast-util-to-string": "^1.0.4",