x-star-editor 0.2.1 → 0.2.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.
Files changed (74) hide show
  1. package/dist/components/FileInput.js +2 -2
  2. package/dist/components/Toolbar.js +184 -44
  3. package/dist/icons/Blockquote.d.ts +4 -0
  4. package/dist/icons/Blockquote.js +16 -0
  5. package/dist/icons/Code.d.ts +4 -0
  6. package/dist/icons/Code.js +15 -0
  7. package/dist/icons/Delete.d.ts +4 -0
  8. package/dist/icons/Delete.js +15 -0
  9. package/dist/icons/Emphasis.d.ts +4 -0
  10. package/dist/icons/Emphasis.js +15 -0
  11. package/dist/icons/EnterFullscreen.d.ts +4 -0
  12. package/dist/icons/EnterFullscreen.js +15 -0
  13. package/dist/icons/ExitFullscreen.d.ts +4 -0
  14. package/dist/icons/ExitFullscreen.js +15 -0
  15. package/dist/icons/Heading.d.ts +4 -0
  16. package/dist/icons/Heading.js +15 -0
  17. package/dist/icons/Image.d.ts +4 -0
  18. package/dist/icons/Image.js +15 -0
  19. package/dist/icons/InlineCode.d.ts +4 -0
  20. package/dist/icons/InlineCode.js +19 -0
  21. package/dist/icons/InlineMath.d.ts +4 -0
  22. package/dist/icons/InlineMath.js +25 -0
  23. package/dist/icons/Link.d.ts +4 -0
  24. package/dist/icons/Link.js +15 -0
  25. package/dist/icons/Math.d.ts +4 -0
  26. package/dist/icons/Math.js +15 -0
  27. package/dist/icons/OrderedList.d.ts +4 -0
  28. package/dist/icons/OrderedList.js +15 -0
  29. package/dist/icons/Redo.d.ts +4 -0
  30. package/dist/icons/Redo.js +15 -0
  31. package/dist/icons/Strong.d.ts +4 -0
  32. package/dist/icons/Strong.js +15 -0
  33. package/dist/icons/Table.d.ts +4 -0
  34. package/dist/icons/Table.js +15 -0
  35. package/dist/icons/ThematicBreak.d.ts +4 -0
  36. package/dist/icons/ThematicBreak.js +15 -0
  37. package/dist/icons/ToHtml.d.ts +4 -0
  38. package/dist/icons/ToHtml.js +15 -0
  39. package/dist/icons/ToMarkdown.d.ts +4 -0
  40. package/dist/icons/ToMarkdown.js +15 -0
  41. package/dist/icons/Undo.d.ts +4 -0
  42. package/dist/icons/Undo.js +15 -0
  43. package/dist/icons/UnorderedList.d.ts +4 -0
  44. package/dist/icons/UnorderedList.js +15 -0
  45. package/dist/locales/en_US.d.ts +7 -0
  46. package/dist/locales/en_US.js +8 -1
  47. package/dist/locales/index.d.ts +28 -0
  48. package/dist/locales/zh_CN.d.ts +7 -0
  49. package/dist/locales/zh_CN.js +8 -1
  50. package/dist/styles/index.css +8 -48
  51. package/dist/utils/container.d.ts +2 -3
  52. package/dist/utils/container.js +2 -7
  53. package/dist/utils/markdown.d.ts +6 -6
  54. package/dist/utils/markdown.js +147 -50
  55. package/dist/x-star-editor/index.d.ts +3 -2
  56. package/dist/x-star-editor/index.js +12 -6
  57. package/dist/x-star-md-editor/index.js +4 -3
  58. package/dist/x-star-md-viewer/index.d.ts +1 -1
  59. package/dist/x-star-md-viewer/index.js +44 -14
  60. package/package.json +9 -5
  61. package/dist/styles/icons/blockquote.svg +0 -18
  62. package/dist/styles/icons/code.svg +0 -18
  63. package/dist/styles/icons/delete.svg +0 -18
  64. package/dist/styles/icons/emphasis.svg +0 -18
  65. package/dist/styles/icons/heading.svg +0 -16
  66. package/dist/styles/icons/image.svg +0 -18
  67. package/dist/styles/icons/inline-code.svg +0 -19
  68. package/dist/styles/icons/inline-math.svg +0 -20
  69. package/dist/styles/icons/link.svg +0 -18
  70. package/dist/styles/icons/math.svg +0 -17
  71. package/dist/styles/icons/redo.svg +0 -18
  72. package/dist/styles/icons/strong.svg +0 -18
  73. package/dist/styles/icons/thematic-break.svg +0 -18
  74. package/dist/styles/icons/undo.svg +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-star-editor",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "An editor developed by turingstar",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -9,16 +9,16 @@
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "build": "father build && sass src:dist --no-source-map",
12
+ "build": "webpack && father build && sass src:dist --no-source-map",
13
13
  "build:watch": "father dev",
14
14
  "dev": "dumi dev",
15
- "docs:build": "dumi build",
15
+ "docs:build": "webpack && dumi build",
16
16
  "doctor": "father doctor",
17
17
  "lint": "npm run lint:es && npm run lint:css",
18
18
  "lint:css": "stylelint \"{src,test}/**/*.{css,scss}\"",
19
19
  "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
20
20
  "prepare": "husky install && dumi setup",
21
- "prepublishOnly": "npm run build",
21
+ "prepublishOnly": "father doctor && npm run build",
22
22
  "start": "npm run dev"
23
23
  },
24
24
  "commitlint": {
@@ -48,6 +48,7 @@
48
48
  "classnames": "^2.3.2",
49
49
  "hast-util-to-jsx-runtime": "^1.2.0",
50
50
  "rehype-katex": "^6.0.3",
51
+ "rehype-mermaidjs": "^1.0.1",
51
52
  "rehype-prism-plus": "^1.6.1",
52
53
  "rehype-raw": "^6.1.1",
53
54
  "rehype-remark": "^9.1.2",
@@ -65,11 +66,13 @@
65
66
  },
66
67
  "devDependencies": {
67
68
  "@babel/core": "^7.22.10",
69
+ "@babel/preset-typescript": "^7.22.11",
68
70
  "@commitlint/cli": "^17.1.2",
69
71
  "@commitlint/config-conventional": "^17.1.0",
70
72
  "@types/react": "^18.0.0",
71
73
  "@types/react-dom": "^18.0.0",
72
74
  "@umijs/lint": "^4.0.0",
75
+ "babel-loader": "^9.1.3",
73
76
  "babel-plugin-inline-import": "^3.0.0",
74
77
  "dumi": "^2.2.0",
75
78
  "eslint": "^8.23.0",
@@ -86,7 +89,8 @@
86
89
  "stylelint": "^14.9.1",
87
90
  "stylelint-config-standard-scss": "^6.1.0",
88
91
  "typescript": "^5.1.6",
89
- "webpack": "^5.88.2"
92
+ "webpack": "^5.88.2",
93
+ "webpack-cli": "^5.1.4"
90
94
  },
91
95
  "peerDependencies": {
92
96
  "react": ">=16.9.0",
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-引用</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-345.000000, -200.000000)" fill="#333333">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-引用" transform="translate(169.000000, 0.000000)">
9
- <g id="编组" transform="translate(7.500000, 8.000000)">
10
- <path d="M3.25089612,0.0671420871 C1.32004763,1.30715316 0.247378813,2.75043074 0.0328819713,4.39695688 C-0.301041027,6.96021683 1.99122683,8.21486067 3.15269479,7.08757089 C4.31416274,5.9602811 3.61793322,4.52943894 2.77691443,4.13832584 C1.93589564,3.74718711 1.42158217,3.88341261 1.51129665,3.3607405 C1.60101114,2.83809402 2.79752902,1.38897051 3.84871918,0.714099146 C3.91846008,0.654793745 3.94499751,0.539721267 3.87784626,0.452416947 C3.83366848,0.395008909 3.7470308,0.282410694 3.61793322,0.114614612 C3.50504015,-0.032115617 3.39689048,-0.0266235215 3.25089612,0.0671420871 Z" id="路径"></path>
11
- <path d="M8.33418693,0.0671420871 C6.40336408,1.30715316 5.33068757,2.75043074 5.11618304,4.39695688 C4.78227286,6.96021683 7.07454328,8.21486067 8.23601124,7.08757089 C9.39747919,5.9602811 8.70124967,4.52943894 7.86023088,4.13832584 C7.01921209,3.74718711 6.50487298,3.88341261 6.5946131,3.3607405 C6.68432759,2.83809402 7.88084547,1.38897051 8.93203563,0.714099146 C9.00177653,0.654793745 9.02831396,0.539721267 8.96113707,0.452416947 C8.91698493,0.395008909 8.83034725,0.282410694 8.70124967,0.114614612 C8.5883566,-0.032115617 8.48020693,-0.0266235215 8.33418693,0.0671420871 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-代码块{}</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-491.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-代码块{}" transform="translate(315.000000, 0.000000)">
9
- <g id="braces-line" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="13.9591042" height="13.9591042"></rect>
11
- <path d="M3,10.4693281 L3,8.31729503 C3,7.83545751 2.66422137,7.44485102 2.25000781,7.44485102 L2,7.44485102 L2,6.51425316 L2.25000781,6.51425316 C2.66422137,6.51425316 3,6.12364668 3,5.64180915 L3,3.48977605 C3,2.526101 3.67158069,1.74488802 4.5,1.74488802 L5,1.74488802 L5,2.90814216 L4.5,2.90814216 C4.36739853,2.90814216 4.24022058,2.96942127 4.14645166,3.07849878 C4.05268274,3.18757629 4,3.33551715 4,3.48977605 L4,5.8744518 C4.0001134,6.37671794 3.72308406,6.82234415 3.31300391,6.97955209 C3.72308406,7.13676004 4.0001134,7.58238624 4,8.08465239 L4,10.4693281 C4,10.623587 4.05268274,10.7715279 4.14645166,10.8806054 C4.24022058,10.9896829 4.36739853,11.050962 4.5,11.050962 L5,11.050962 L5,12.2142162 L4.5,12.2142162 C3.67158069,12.2142162 3,11.4330032 3,10.4693281 Z M11.1428199,10.4693281 C11.1428199,11.4330032 10.4712392,12.2142162 9.64281986,12.2142162 L9.14281986,12.2142162 L9.14281986,11.050962 L9.64281986,11.050962 C9.91895658,11.050962 10.1428199,10.7905557 10.1428199,10.4693281 L10.1428199,8.08465239 C10.1427065,7.58238624 10.4197358,7.13676004 10.829816,6.97955209 C10.4197358,6.82234415 10.1427065,6.37671794 10.1428199,5.8744518 L10.1428199,3.48977605 C10.1428199,3.16854852 9.91895658,2.90814216 9.64281986,2.90814216 L9.14281986,2.90814216 L9.14281986,1.74488802 L9.64281986,1.74488802 C10.4712392,1.74488802 11.1428199,2.526101 11.1428199,3.48977605 L11.1428199,5.64180915 C11.1428199,6.12364668 11.4785985,6.51425316 11.8928121,6.51425316 L12.1428199,6.51425316 L12.1428199,7.44485102 L11.8928121,7.44485102 C11.4785985,7.44485102 11.1428199,7.83545751 11.1428199,8.31729503 L11.1428199,10.4693281 Z" id="形状"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-删除</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-272.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-删除" transform="translate(96.000000, 0.000000)">
9
- <g id="strikethrough-outlined" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M13.015625,6.48046875 L7.79160156,6.48046875 C7.65488281,6.453125 7.51132812,6.42578125 7.35957031,6.3984375 C7.1421875,6.35878906 7.05605469,6.34238281 6.93847656,6.31914063 C6.23710937,6.18242188 5.81464844,6.04570313 5.47832031,5.8515625 C4.9984375,5.57128906 4.76464844,5.19121094 4.76464844,4.68808594 C4.76464844,4.18222656 4.97246094,3.7625 5.36621094,3.47128906 C5.75449219,3.18417969 6.30683594,3.03242188 6.96308594,3.03242188 C7.71230469,3.03242188 8.290625,3.22929688 8.68300781,3.61757813 C8.88261719,3.81445313 9.02890625,4.05644531 9.11777344,4.33671875 C9.13554687,4.39277344 9.15605469,4.4734375 9.1765625,4.58007813 C9.18886719,4.64570313 9.24765625,4.6921875 9.31191406,4.6921875 L10.3072266,4.6921875 C10.3837891,4.6921875 10.4453125,4.62929688 10.4453125,4.55410156 L10.4453125,4.54042969 C10.4357422,4.44746094 10.4275391,4.375 10.4179687,4.32167969 C10.3181641,3.72695313 10.0351562,3.2046875 9.60175781,2.81367187 C8.99472656,2.25996094 8.10195312,1.96875 7.021875,1.96875 C6.03339844,1.96875 5.14335937,2.21621094 4.51582031,2.66464844 C4.16582031,2.91621094 3.89511719,3.22792969 3.71464844,3.59023438 C3.53007812,3.96074219 3.43710937,4.38867188 3.43710937,4.86035156 C3.43710937,5.26367188 3.51503906,5.60546875 3.67363281,5.90625 C3.78710937,6.12089844 3.94160156,6.30957031 4.13984375,6.48046875 L0.984375,6.48046875 C0.92421875,6.48046875 0.875,6.5296875 0.875,6.58984375 L0.875,7.41015625 C0.875,7.4703125 0.92421875,7.51953125 0.984375,7.51953125 L6.90703125,7.51953125 C6.93574219,7.525 6.96035156,7.53046875 6.98769531,7.5359375 C7.41015625,7.62070313 7.66445312,7.678125 7.89824219,7.74375 C8.21269531,7.83261719 8.45332031,7.92558594 8.65292969,8.03769531 C9.14238281,8.31386719 9.38164062,8.71035156 9.38164062,9.25449219 C9.38164062,9.73710938 9.16972656,10.1677734 8.78554687,10.4685547 C8.36855469,10.7953125 7.75195312,10.9662109 7.00136719,10.9662109 C6.40390625,10.9662109 5.89804687,10.85 5.49472656,10.6244141 C5.096875,10.4015625 4.8234375,10.0802734 4.67851562,9.67421875 C4.66757812,9.64414063 4.65527344,9.603125 4.64160156,9.55117188 C4.62519531,9.49101563 4.56914062,9.44863281 4.50898437,9.44863281 L3.41933594,9.44863281 C3.34277344,9.44863281 3.28125,9.51152344 3.28125,9.58671875 L3.28125,9.60039063 C3.28398437,9.63183594 3.28671875,9.6578125 3.28945312,9.67832031 C3.37832031,10.3455078 3.70371094,10.8923828 4.25605469,11.3025391 C4.9,11.7783203 5.80644531,12.0298828 6.87832031,12.0298828 C8.02949219,12.0298828 8.99472656,11.7591797 9.67011719,11.2464844 C10.0119141,10.9880859 10.2744141,10.6695313 10.4507812,10.303125 C10.6285156,9.93261719 10.7201172,9.51152344 10.7201172,9.05214844 C10.7201172,8.61738281 10.6408203,8.25371094 10.4767578,7.93925781 C10.3974609,7.78613281 10.2976563,7.6453125 10.1787109,7.51816406 L13.015625,7.51816406 C13.0757813,7.51816406 13.125,7.46894531 13.125,7.40878906 L13.125,6.58847656 C13.125,6.5296875 13.0757813,6.48046875 13.015625,6.48046875 L13.015625,6.48046875 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-斜体</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-240.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-斜体" transform="translate(64.000000, 0.000000)">
9
- <g id="italic" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M10.9101562,2.1875 L5.00390625,2.1875 C4.94375,2.1875 4.89453125,2.23671875 4.89453125,2.296875 L4.89453125,3.171875 C4.89453125,3.23203125 4.94375,3.28125 5.00390625,3.28125 L7.48125,3.28125 L5.3484375,10.71875 L3.13085938,10.71875 C3.07070313,10.71875 3.02148438,10.7679687 3.02148438,10.828125 L3.02148438,11.703125 C3.02148438,11.7632813 3.07070313,11.8125 3.13085938,11.8125 L9.03710938,11.8125 C9.09726562,11.8125 9.14648438,11.7632813 9.14648438,11.703125 L9.14648438,10.828125 C9.14648438,10.7679687 9.09726562,10.71875 9.03710938,10.71875 L6.4859375,10.71875 L8.61875,3.28125 L10.9101562,3.28125 C10.9703125,3.28125 11.0195312,3.23203125 11.0195312,3.171875 L11.0195312,2.296875 C11.0195312,2.23671875 10.9703125,2.1875 10.9101562,2.1875 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,16 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-标题</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-768.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案二" transform="translate(752.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="italic" transform="translate(5.000000, 5.000000)">
9
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
10
- <path d="M4.52398438,2.33125 C4.58448438,2.33125 4.63398438,2.41160714 4.63398438,2.50982143 L4.63398438,6.71825 L9.53398438,6.71825 L9.53398438,2.50982143 C9.53398438,2.43125 9.56566438,2.36410714 9.60931238,2.34039286 L9.64398438,2.33125 L10.5239844,2.33125 C10.5844844,2.33125 10.6339844,2.41160714 10.6339844,2.50982143 L10.6339844,12.1526786 C10.6339844,12.2508929 10.5844844,12.33125 10.5239844,12.33125 L9.64398438,12.33125 C9.58348438,12.33125 9.53398438,12.2508929 9.53398438,12.1526786 L9.53398438,7.81825 L4.63398438,7.81825 L4.63398438,12.1526786 C4.63398438,12.23125 4.60230438,12.2983929 4.55865638,12.3221071 L4.52398438,12.33125 L3.64398438,12.33125 C3.58348438,12.33125 3.53398438,12.2508929 3.53398438,12.1526786 L3.53398438,2.50982143 C3.53398438,2.41160714 3.58348438,2.33125 3.64398438,2.33125 Z" id="形状结合"></path>
11
- </g>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-图片</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-418.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-图片" transform="translate(242.000000, 0.000000)">
9
- <g id="image" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M12.6875,2.1875 L1.3125,2.1875 C1.07050781,2.1875 0.875,2.38300781 0.875,2.625 L0.875,11.375 C0.875,11.6169922 1.07050781,11.8125 1.3125,11.8125 L12.6875,11.8125 C12.9294922,11.8125 13.125,11.6169922 13.125,11.375 L13.125,2.625 C13.125,2.38300781 12.9294922,2.1875 12.6875,2.1875 Z M12.140625,10.828125 L1.859375,10.828125 L1.859375,10.2826172 L3.75292969,8.03632812 L5.80507812,10.4699219 L8.99746094,6.68554688 L12.140625,10.4125 L12.140625,10.828125 Z M12.140625,9.05351562 L9.08085938,5.425 C9.03710938,5.37304688 8.9578125,5.37304688 8.9140625,5.425 L5.80507812,9.1109375 L3.83632813,6.77714844 C3.79257813,6.72519531 3.71328125,6.72519531 3.66953125,6.77714844 L1.859375,8.92363281 L1.859375,3.171875 L12.140625,3.171875 L12.140625,9.05351562 Z M4.15625,6.234375 C4.82070313,6.234375 5.359375,5.69570313 5.359375,5.03125 C5.359375,4.36679687 4.82070313,3.828125 4.15625,3.828125 C3.49179687,3.828125 2.953125,4.36679687 2.953125,5.03125 C2.953125,5.69570313 3.49179688,6.234375 4.15625,6.234375 Z M4.15625,4.6484375 C4.36816406,4.6484375 4.5390625,4.81933594 4.5390625,5.03125 C4.5390625,5.24316406 4.36816406,5.4140625 4.15625,5.4140625 C3.94433594,5.4140625 3.7734375,5.24316406 3.7734375,5.03125 C3.7734375,4.81933594 3.94433594,4.6484375 4.15625,4.6484375 Z" id="形状"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-行内代码</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-459.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-行内代码" transform="translate(283.000000, 0.000000)">
9
- <g id="code" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M5.99375,11.6087891 L9.03847656,2.7671875 C9.04121094,2.76035156 9.04257812,2.75214844 9.04394531,2.7453125 L5.99375,11.6087891 Z" id="路径" opacity="0.224"></path>
12
- <path d="M9.03984375,2.30644531 L8.11699219,2.30644531 C8.07050781,2.30644531 8.028125,2.33652344 8.01308594,2.38027344 L4.84941406,11.5664062 C4.8453125,11.5773437 4.84394531,11.5896484 4.84394531,11.6019531 C4.84394531,11.6621094 4.89316406,11.7113281 4.95332031,11.7113281 L5.88027344,11.7113281 C5.92675781,11.7113281 5.96914062,11.68125 5.98417969,11.6375 L5.99375,11.6087891 L9.04394531,2.7453125 L9.14511719,2.45273437 C9.14921875,2.44179687 9.15058594,2.42949219 9.15058594,2.4171875 C9.14921875,2.35566406 9.10136719,2.30644531 9.03984375,2.30644531 L9.03984375,2.30644531 Z M13.0511719,6.86464844 C13.0402344,6.85097656 13.0279297,6.83867187 13.0142578,6.82773437 L10.0201172,4.48574219 C9.97226563,4.44882812 9.90390625,4.45703125 9.86699219,4.50488281 C9.85195312,4.52402344 9.84375,4.54726562 9.84375,4.571875 L9.84375,5.68339844 C9.84375,5.71757812 9.85878906,5.74902344 9.88613281,5.76953125 L11.4583984,7 L9.88613281,8.23046875 C9.86015625,8.25097656 9.84375,8.28242187 9.84375,8.31660156 L9.84375,9.428125 C9.84375,9.48828125 9.89296875,9.5375 9.953125,9.5375 C9.97773437,9.5375 10.0009766,9.52929687 10.0201172,9.51425781 L13.0142578,7.17226562 C13.1085938,7.0984375 13.1263672,6.96035156 13.0511719,6.86464844 L13.0511719,6.86464844 Z M3.97988281,4.48574219 L0.985742187,6.82773437 C0.972070312,6.83867187 0.959765625,6.85097656 0.948828125,6.86464844 C0.875,6.96035156 0.89140625,7.09707031 0.985742187,7.17226562 L3.97988281,9.51425781 C3.99902344,9.52929687 4.02226562,9.5375 4.046875,9.5375 C4.10703125,9.5375 4.15625,9.48828125 4.15625,9.428125 L4.15625,8.31660156 C4.15625,8.28242187 4.14121094,8.25097656 4.11386719,8.23046875 L2.54160156,7 L4.11386719,5.76953125 C4.13984375,5.74902344 4.15625,5.71757812 4.15625,5.68339844 L4.15625,4.571875 C4.15625,4.54726562 4.14804687,4.52402344 4.13300781,4.50488281 C4.09609375,4.45703125 4.02773437,4.44882812 3.97988281,4.48574219 Z" id="形状"></path>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </g>
19
- </svg>
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-行内公示</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-523.000000, -200.000000)" fill="#333333">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-行内公示" transform="translate(347.000000, 0.000000)">
9
- <g id="code-library" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" x="2" y="3" width="10" height="1" rx="0.100000001"></rect>
11
- <path d="M4,4 L5,4 L5,10.9 C5,10.9552285 4.95522847,11 4.9,11 L4.1,11 C4.04477153,11 4,10.9552285 4,10.9 L4,4 L4,4 Z" id="矩形备份-8"></path>
12
- <path d="M9,4 L10,4 L10,11 L9.5,11 C9.22385763,11 9,10.7761424 9,10.5 L9,4 L9,4 Z" id="矩形备份-9"></path>
13
- <path d="M9,10 L12.4,10 C12.4552285,10 12.5,10.0447715 12.5,10.1 L12.5,10.9 C12.5,10.9552285 12.4552285,11 12.4,11 L9.5,11 C9.22385763,11 9,10.7761424 9,10.5 L9,10 L9,10 Z" id="矩形备份-10"></path>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </g>
19
- </g>
20
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-链接</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-978.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案二" transform="translate(752.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-链接" transform="translate(210.000000, 0.000000)">
9
- <g id="link" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M7.84765625,9.09726563 C7.80527344,9.05488281 7.73554687,9.05488281 7.69316406,9.09726563 L6.10449219,10.6859375 C5.36894531,11.4214844 4.12753906,11.4994141 3.31542969,10.6859375 C2.50195313,9.87246094 2.57988281,8.63242188 3.31542969,7.896875 L4.90410156,6.30820313 C4.94648438,6.26582031 4.94648438,6.19609375 4.90410156,6.15371094 L4.35996094,5.60957031 C4.31757812,5.5671875 4.24785156,5.5671875 4.20546875,5.60957031 L2.61679688,7.19824219 C1.46015625,8.35488281 1.46015625,10.2265625 2.61679688,11.3818359 C3.7734375,12.5371094 5.64511719,12.5384766 6.80039062,11.3818359 L8.3890625,9.79316406 C8.43144531,9.75078125 8.43144531,9.68105469 8.3890625,9.63867188 L7.84765625,9.09726563 Z M11.3832031,2.61679687 C10.2265625,1.46015625 8.35488281,1.46015625 7.19960937,2.61679687 L5.60957031,4.20546875 C5.5671875,4.24785156 5.5671875,4.31757813 5.60957031,4.35996094 L6.15234375,4.90273438 C6.19472656,4.94511719 6.26445313,4.94511719 6.30683594,4.90273438 L7.89550781,3.3140625 C8.63105469,2.57851563 9.87246094,2.50058594 10.6845703,3.3140625 C11.4980469,4.12753906 11.4201172,5.36757813 10.6845703,6.103125 L9.09589844,7.69179688 C9.05351562,7.73417969 9.05351562,7.80390625 9.09589844,7.84628906 L9.64003906,8.39042969 C9.68242187,8.4328125 9.75214844,8.4328125 9.79453125,8.39042969 L11.3832031,6.80175781 C12.5384766,5.64511719 12.5384766,3.7734375 11.3832031,2.61679687 L11.3832031,2.61679687 Z M8.34121094,5.09003906 C8.29882812,5.04765625 8.22910156,5.04765625 8.18671875,5.09003906 L5.09003906,8.18535156 C5.04765625,8.22773438 5.04765625,8.29746094 5.09003906,8.33984375 L5.63144531,8.88125 C5.67382813,8.92363281 5.74355469,8.92363281 5.7859375,8.88125 L8.88125,5.7859375 C8.92363281,5.74355469 8.92363281,5.67382813 8.88125,5.63144531 L8.34121094,5.09003906 Z" id="形状"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-公示块</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-555.000000, -200.000000)" fill="#333333">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-公示块" transform="translate(379.000000, 0.000000)">
9
- <g id="编组-2" transform="translate(5.000000, 5.000000)">
10
- <path d="M10.7003992,2 C10.7297393,2 10.7561282,2.01263571 10.774421,2.03276226 C10.8079259,2.05468192 10.8349761,2.08691449 10.8505533,2.12607008 L11.7423248,4.36767509 C11.76274,4.4189918 11.7376894,4.47714199 11.6863727,4.49755718 C11.6746104,4.50223653 11.6620666,4.50464005 11.6494077,4.50464005 L10.8646533,4.50464005 C10.8236945,4.50464005 10.7868766,4.47966278 10.7717362,4.44160502 L10.197,2.999 L3.708,2.999 L7.57508353,6.8640411 C7.63765673,6.92643563 7.65019644,7.01995965 7.61273209,7.09487554 L7.57508353,7.14679628 L7.00944186,7.712088 L3.725,10.994 L10.2,10.994 L10.7717362,9.55839498 C10.7818298,9.53302314 10.8015578,9.51346485 10.8257243,9.50324508 L10.8646533,9.49535995 L11.6494077,9.49535995 C11.6620666,9.49535995 11.6746104,9.49776347 11.6863727,9.50244282 C11.7376894,9.52285801 11.76274,9.5810082 11.7423248,9.63232491 L10.8505533,11.8739299 C10.8314822,11.9218681 10.795214,11.9594293 10.7505106,11.9806694 C10.7452531,11.9833945 10.7400677,11.9858178 10.7346647,11.9877884 C10.7128187,11.9955615 10.6891368,12 10.664719,12 L9.80039916,12 L2.50039917,11.9938133 C2.38994222,11.9938133 2.30039916,11.9042702 2.30039916,11.7938133 L2.30039916,10.9944319 L2.31094347,10.9943409 L6.302,7.005 L2.3,3.00555975 L2.30039916,2.2 C2.30039916,2.08954305 2.38994222,2 2.50039917,2 L10.7003992,2 Z" id="形状结合"></path>
11
- </g>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-恢复</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-628.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-恢复" transform="translate(452.000000, 0.000000)">
9
- <g id="rollback-outlined" transform="translate(12.000000, 12.000000) scale(-1, 1) translate(-12.000000, -12.000000) translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M10.8417969,3.30859375 L5.00390625,3.30859375 L5.00390625,2.296875 C5.00390625,2.20527344 4.89863281,2.1546875 4.82753906,2.21074219 L2.88613281,3.74199219 C2.83007813,3.78574219 2.83007813,3.87050781 2.88613281,3.91425781 L4.82753906,5.44550781 C4.89863281,5.5015625 5.00390625,5.45097656 5.00390625,5.359375 L5.00390625,4.34765625 L10.6777344,4.34765625 L10.6777344,10.7734375 L2.39257812,10.7734375 C2.33242188,10.7734375 2.28320312,10.8226562 2.28320312,10.8828125 L2.28320312,11.703125 C2.28320312,11.7632812 2.33242188,11.8125 2.39257812,11.8125 L10.8417969,11.8125 C11.3244141,11.8125 11.7167969,11.4201172 11.7167969,10.9375 L11.7167969,4.18359375 C11.7167969,3.70097656 11.3244141,3.30859375 10.8417969,3.30859375 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-加粗</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-208.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-加粗" transform="translate(32.000000, 0.000000)">
9
- <g id="bold" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M9.50067935,6.55281929 C9.95720109,6.07727582 10.2370924,5.43461277 10.2370924,4.72809103 L10.2370924,4.58950408 C10.2370924,3.12754755 9.04008152,1.94140625 7.56453804,1.94140625 L3.54415761,1.94140625 C3.33899457,1.94140625 3.171875,2.10852582 3.171875,2.31368886 L3.171875,11.540591 C3.171875,11.7620584 3.35122283,11.9414062 3.57269022,11.9414062 L7.90285326,11.9414062 C9.49252717,11.9414062 10.7805707,10.6615149 10.7805707,9.0813519 L10.7805707,8.93189538 C10.7805707,7.94004755 10.2724185,7.06640625 9.50067935,6.55281929 Z M4.47622283,3.24575408 L7.52921196,3.24575408 C8.30502717,3.24575408 8.93274457,3.84901495 8.93274457,4.59493886 L8.93274457,4.72401495 C8.93274457,5.46858016 8.30366848,6.07319973 7.52921196,6.07319973 L4.47622283,6.07319973 L4.47622283,3.24575408 Z M9.45720109,9.07999321 C9.45720109,9.93461277 8.75475543,10.6275476 7.88790761,10.6275476 L4.47622283,10.6275476 L4.47622283,7.38569973 L7.88790761,7.38569973 C8.75475543,7.38569973 9.45720109,8.07863451 9.45720109,8.93325408 L9.45720109,9.07999321 Z" id="形状"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-分割线</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-313.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-分割线" transform="translate(137.000000, 0.000000)">
9
- <g id="line" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M12.359375,6.5078125 L1.640625,6.5078125 C1.58046875,6.5078125 1.53125,6.55703125 1.53125,6.6171875 L1.53125,7.3828125 C1.53125,7.44296875 1.58046875,7.4921875 1.640625,7.4921875 L12.359375,7.4921875 C12.4195312,7.4921875 12.46875,7.44296875 12.46875,7.3828125 L12.46875,6.6171875 C12.46875,6.55703125 12.4195312,6.5078125 12.359375,6.5078125 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-撤销</title>
4
- <g id="markdown编辑器" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="mark-down编辑器" transform="translate(-596.000000, -200.000000)" fill="#333333" fill-rule="nonzero">
6
- <g id="方案一" transform="translate(160.000000, 192.000000)">
7
- <g id="icon" transform="translate(16.000000, 8.000000)">
8
- <g id="icon-撤销" transform="translate(420.000000, 0.000000)">
9
- <g id="rollback-outlined" transform="translate(5.000000, 5.000000)">
10
- <rect id="矩形" opacity="0" x="0" y="0" width="14" height="14"></rect>
11
- <path d="M10.8417969,3.30859375 L5.00390625,3.30859375 L5.00390625,2.296875 C5.00390625,2.20527344 4.89863281,2.1546875 4.82753906,2.21074219 L2.88613281,3.74199219 C2.83007813,3.78574219 2.83007813,3.87050781 2.88613281,3.91425781 L4.82753906,5.44550781 C4.89863281,5.5015625 5.00390625,5.45097656 5.00390625,5.359375 L5.00390625,4.34765625 L10.6777344,4.34765625 L10.6777344,10.7734375 L2.39257812,10.7734375 C2.33242188,10.7734375 2.28320312,10.8226562 2.28320312,10.8828125 L2.28320312,11.703125 C2.28320312,11.7632812 2.33242188,11.8125 2.39257812,11.8125 L10.8417969,11.8125 C11.3244141,11.8125 11.7167969,11.4201172 11.7167969,10.9375 L11.7167969,4.18359375 C11.7167969,3.70097656 11.3244141,3.30859375 10.8417969,3.30859375 Z" id="路径"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </g>
17
- </g>
18
- </svg>