@readme/markdown 6.36.0-next.3 → 6.37.0-next.1
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.js +2 -2
- package/dist/main.node.js +2 -2
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -27968,13 +27968,13 @@ module.exports = function CodeTabsCompiler() {
|
|
|
27968
27968
|
/***/ 58:
|
|
27969
27969
|
/***/ ((module) => {
|
|
27970
27970
|
|
|
27971
|
-
/* div blocks directly alias the paragraph container; use for display only! */
|
|
27972
27971
|
module.exports = function DivCompiler() {
|
|
27973
27972
|
var Compiler = this.Compiler;
|
|
27974
27973
|
var visitors = Compiler.prototype.visitors;
|
|
27975
27974
|
|
|
27976
27975
|
visitors.div = function compile(node) {
|
|
27977
|
-
|
|
27976
|
+
var data = node.data.hProperties;
|
|
27977
|
+
return "\n[block:".concat(node.data.hName, "]\n").concat(JSON.stringify(data, null, 2), "\n[/block]\n");
|
|
27978
27978
|
};
|
|
27979
27979
|
};
|
|
27980
27980
|
|
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
|
-
|
|
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.
|
|
5
|
+
"version": "6.37.0-next.1",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"browser": "dist/main.js",
|
|
8
8
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
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
|
},
|