Skip to content

Releases: kktjs/markdown-react-code-preview-loader

v2.0.1

12 May 14:35
Compare
Choose a tag to compare

npm version

Documentation v2.0.1: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/078632f/index.html
Comparing Changes: v2.0.0...v2.0.1

npm i markdown-react-code-preview-loader@2.0.1

v2.0.0

11 May 20:22
Compare
Choose a tag to compare

npm version

Documentation v2.0.0: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/724b1f1/index.html
Comparing Changes: v1.3.0...v2.0.0

npm i markdown-react-code-preview-loader@2.0.0
import mdObj from 'markdown-react-code-preview-loader/README.md';

mdObj.source
mdObj.components
- mdObj.codeBlock
+ mdObj.data
{
-  codeBlock: {
-    17: 'import React from ...',
-    77: 'import React from ...',
-    demo12: 'import React from ...'
-  },
+  data: {
+    17: {
+      code: "\"use strict\";\n\nfunction ......"
+      language: "jsx"
+      name: 17,
+      value: "mport React from ..."
+    },
+    77: {
+      code: "\"use strict\";\n\nfunction ......"
+      language: "jsx"
+      name: 17,
+      value: "mport React from ..."
+    },
+    demo12: {
+      code: "\"use strict\";\n\nfunction ......"
+      language: "jsx"
+      name: 17,
+      value: "mport React from ..."
+    }
+  },
  components: { 17: ƒ, 77: ƒ, demo12: ƒ },
-  languages: { 17: 'jsx', 77: 'jsx', demo12: 'jsx'},
  source: "# Alert 确认对话框...."
}
- getCodeBlockString

v1.3.0

11 May 12:35
Compare
Choose a tag to compare

npm version

Documentation v1.3.0: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/cc40f07/index.html
Comparing Changes: v1.2.1...v1.3.0

npm i markdown-react-code-preview-loader@1.3.0

v1.2.1

11 May 08:19
Compare
Choose a tag to compare

npm version

Documentation v1.2.1: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/a15b55a/index.html
Comparing Changes: v1.2.0...v1.2.1

npm i markdown-react-code-preview-loader@1.2.1

v1.2.0

11 May 07:33
Compare
Choose a tag to compare

npm version

Documentation v1.2.0: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/a15b55a/index.html
Comparing Changes: v1.1.0...v1.2.0

npm i markdown-react-code-preview-loader@1.2.0

v1.1.0

11 May 07:11
Compare
Choose a tag to compare

npm version

Documentation v1.1.0: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/8ceb4ab/index.html
Comparing Changes: v1.0.1...v1.1.0

npm i markdown-react-code-preview-loader@1.1.0

v1.0.1

09 May 05:56
Compare
Choose a tag to compare

npm version

Documentation v1.0.1: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/779c3d5/index.html
Comparing Changes: v1.0.0...v1.0.1

npm i markdown-react-code-preview-loader@1.0.1

v1.0.0

07 May 12:35
Compare
Choose a tag to compare
released v1.0.0