vue-stream-markdown 0.0.0-alpha.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.
Files changed (206) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +96 -0
  3. package/dist/angular-Chs-UKBr.js +29 -0
  4. package/dist/angular-component-Cc_FANXU.js +29 -0
  5. package/dist/apache-COYnc6xR.js +35 -0
  6. package/dist/asciidoc-BabXBDAL.js +24 -0
  7. package/dist/assembly-CDqKhexW.js +35 -0
  8. package/dist/astro-C9kftzFG.js +28 -0
  9. package/dist/bash-Ce4pNIkV.js +27 -0
  10. package/dist/batch-CHQBRjFL.js +23 -0
  11. package/dist/bicep-8jxWtuBF.js +46 -0
  12. package/dist/blockquote-DFANmQEB.css +13 -0
  13. package/dist/blockquote-DdEg2gww.js +83 -0
  14. package/dist/button-BClRCjnc.js +5 -0
  15. package/dist/button-C12sn_G5.css +24 -0
  16. package/dist/button-D8xx1WIP.js +202 -0
  17. package/dist/c-FBUef746.js +25 -0
  18. package/dist/check-C4xOk8um.js +25 -0
  19. package/dist/chevron-down-cnOJ4h1g.js +25 -0
  20. package/dist/circle-alert-CLX-h5rZ.js +28 -0
  21. package/dist/clojure-BulUroSy.js +18 -0
  22. package/dist/cmake-CW3vz1Mo.js +35 -0
  23. package/dist/cobol-CIn3oFju.js +24 -0
  24. package/dist/code-CP6mPwkq.js +106 -0
  25. package/dist/code-D8LSp8rK.js +25 -0
  26. package/dist/code-NAXHb0o2.css +4 -0
  27. package/dist/code-block-C4D_QNTq.js +408 -0
  28. package/dist/code-block-D2zjJAww.css +57 -0
  29. package/dist/code-block-Dzw63Lki.js +9 -0
  30. package/dist/codeowners-CJggXF_b.js +27 -0
  31. package/dist/coffeescript-CBrVvzGY.js +23 -0
  32. package/dist/composables-qhB1h_ed.js +1567 -0
  33. package/dist/copy-Cabve0xf.js +31 -0
  34. package/dist/cpp-BTKeuyd-.js +31 -0
  35. package/dist/crystal-DyIYvZbm.js +24 -0
  36. package/dist/csharp-NqZ1vyF9.js +22 -0
  37. package/dist/css-BpR5Lajb.js +26 -0
  38. package/dist/csv-eCMFnKKK.js +24 -0
  39. package/dist/cue-TY97dGOQ.js +32 -0
  40. package/dist/d-NftUsdTd.js +24 -0
  41. package/dist/dart-DJpwZZbk.js +23 -0
  42. package/dist/database-aZwE71Px.js +24 -0
  43. package/dist/delete-BdWzKJCy.js +83 -0
  44. package/dist/delete-Ci7IJDoT.css +4 -0
  45. package/dist/diff-CYRzypaU.js +35 -0
  46. package/dist/docker-CxHBuukH.js +24 -0
  47. package/dist/download-Bnn7rtYw.js +24 -0
  48. package/dist/dropdown-Ca_PKF_d.js +5 -0
  49. package/dist/elixir-BKSxVc1h.js +24 -0
  50. package/dist/elm-DScuAf3X.js +24 -0
  51. package/dist/emphasis-BseYvUae.css +4 -0
  52. package/dist/emphasis-CTuGt1Ok.js +83 -0
  53. package/dist/en-US-Bfc50l3I.js +27 -0
  54. package/dist/env-CDAKsodl.js +24 -0
  55. package/dist/erlang-D2M1ZL3m.js +23 -0
  56. package/dist/error-component-BIPPxd-M.css +21 -0
  57. package/dist/error-component-CLEJmPmM.js +4 -0
  58. package/dist/error-component-CzarUjhh.js +61 -0
  59. package/dist/eye-CdeX8PhP.js +28 -0
  60. package/dist/fortran-CORyQ0wt.js +24 -0
  61. package/dist/fsharp-BJz_Jgpl.js +24 -0
  62. package/dist/git-DgrlTr1E.js +28 -0
  63. package/dist/gleam-t_xad9Kw.js +29 -0
  64. package/dist/go-Cvlh1xtL.js +24 -0
  65. package/dist/graphql-ApIm0mDD.js +24 -0
  66. package/dist/groovy-CaLnK8PV.js +23 -0
  67. package/dist/haml-MwijEO_6.js +35 -0
  68. package/dist/handlebars-CKdUPI9h.js +24 -0
  69. package/dist/haskell-NPOXEnck.js +24 -0
  70. package/dist/haxe-DyKBMsDE.js +23 -0
  71. package/dist/heading-2vpQQtTH.js +88 -0
  72. package/dist/heading-KxpVX3-u.css +30 -0
  73. package/dist/html-C5_wsY4-.css +5 -0
  74. package/dist/html-CMgES1dE.js +28 -0
  75. package/dist/html-DL0PcUXX.js +102 -0
  76. package/dist/http-B9FFNmUr.js +23 -0
  77. package/dist/image-B77jbMUB.css +46 -0
  78. package/dist/image-CMZAakWu.js +39 -0
  79. package/dist/image-heJSlrNv.js +215 -0
  80. package/dist/index.css +43 -0
  81. package/dist/index.d.ts +762 -0
  82. package/dist/index.js +18674 -0
  83. package/dist/inline-code-CBoqhfz7.js +81 -0
  84. package/dist/inline-code-Eo65bj3F.css +12 -0
  85. package/dist/inline-math-B4XO1wMP.js +110 -0
  86. package/dist/inline-math-DgBjIrPT.css +7 -0
  87. package/dist/java-iU-L9wJz.js +35 -0
  88. package/dist/javascript-DtnWdTFC.js +23 -0
  89. package/dist/jinja-CoWszo_D.js +24 -0
  90. package/dist/json-C80qKCnh.js +24 -0
  91. package/dist/julia-DG2BCBLx.js +35 -0
  92. package/dist/kdl-7twRfIlJ.js +40 -0
  93. package/dist/kotlin-BjrOgP7R.js +18 -0
  94. package/dist/latex-DIQfUvG8.js +24 -0
  95. package/dist/less-BJ1yEAWt.js +24 -0
  96. package/dist/link-BA_j8di3.css +12 -0
  97. package/dist/link-DOtoFtxu.js +107 -0
  98. package/dist/link-DeV4CQOB.js +24 -0
  99. package/dist/liquid-BqKFZ1wQ.js +24 -0
  100. package/dist/lisp-oekhB2ti.js +23 -0
  101. package/dist/list-BCiFKGaz.js +88 -0
  102. package/dist/list-CcVBNIly.css +11 -0
  103. package/dist/list-item-Y6Cphjrp.css +15 -0
  104. package/dist/list-item-p-OLUR_9.js +95 -0
  105. package/dist/log-D1XEqR9q.js +23 -0
  106. package/dist/lua-C5Q97-1D.js +28 -0
  107. package/dist/luau-BT8KwqZ2.js +28 -0
  108. package/dist/makefile-B4a0ciG4.js +28 -0
  109. package/dist/markdown-DvNyKsiJ.js +24 -0
  110. package/dist/marko-BzsIf6bg.js +18 -0
  111. package/dist/math-Byka28HI.js +110 -0
  112. package/dist/math-Cq89zpB6.css +11 -0
  113. package/dist/matlab-cMBkmDhQ.js +28 -0
  114. package/dist/maximize-4PIqBONS.js +25 -0
  115. package/dist/mermaid-8JIH2gkQ.js +24 -0
  116. package/dist/mermaid-C9ZUejzK.css +8 -0
  117. package/dist/mermaid-X0AFRzfF.js +203 -0
  118. package/dist/minimize-BJ8htyDF.js +25 -0
  119. package/dist/modal-CWdgVkH_.css +48 -0
  120. package/dist/modal-CuQR21UD.js +71 -0
  121. package/dist/modal-DcpxxDDX.js +3 -0
  122. package/dist/nextflow-DNmqU1xg.js +24 -0
  123. package/dist/nginx-DDfYF_rj.js +23 -0
  124. package/dist/nim-D9xEmy4k.js +24 -0
  125. package/dist/nix-BV1Deshw.js +18 -0
  126. package/dist/node-list-C9O-A1aZ.css +11 -0
  127. package/dist/node-list-CGr_EVtn.js +199 -0
  128. package/dist/node-list-lgY1wbfQ.js +3 -0
  129. package/dist/ocaml-BkFn4LL3.js +27 -0
  130. package/dist/paragraph-DYjqr_Sa.js +83 -0
  131. package/dist/paragraph-wRNmMYAI.css +6 -0
  132. package/dist/perl-BytUHDE7.js +24 -0
  133. package/dist/php-BImJJtNM.js +24 -0
  134. package/dist/postcss-CrZ9_0sT.js +18 -0
  135. package/dist/powershell-DYSGu7TM.js +23 -0
  136. package/dist/previewers-Drlf7IQF.js +10 -0
  137. package/dist/prisma-BhRvcOFY.js +24 -0
  138. package/dist/prolog-DuaCKek_.js +24 -0
  139. package/dist/properties-BbIJwuP-.js +24 -0
  140. package/dist/proto-CE0aVW11.js +18 -0
  141. package/dist/pug-B1-IC-Tc.js +24 -0
  142. package/dist/puppet-8nYquiMG.js +24 -0
  143. package/dist/python-DhRyfBrD.js +35 -0
  144. package/dist/r-Cjje17IA.js +28 -0
  145. package/dist/racket-Dx0gMnpg.js +28 -0
  146. package/dist/razor-DPht_bdD.js +24 -0
  147. package/dist/renderer-CZ41eK_V.js +43 -0
  148. package/dist/ruby-B8RxtCzI.js +24 -0
  149. package/dist/rust-Cjtli6yf.js +23 -0
  150. package/dist/sass-Dv3DMzjs.js +24 -0
  151. package/dist/scala-B7bZGKXq.js +24 -0
  152. package/dist/scheme-B2PsEdVN.js +24 -0
  153. package/dist/segmented-BEtO1eyl.js +69 -0
  154. package/dist/segmented-CWoQcX-H.js +6 -0
  155. package/dist/segmented-DLmggl-e.css +8 -0
  156. package/dist/shader-BZzu3zGr.js +24 -0
  157. package/dist/shiki-CMgjqKKu.css +20 -0
  158. package/dist/shiki-vToM7Pz1.js +114 -0
  159. package/dist/solidity-CLieFYpL.js +24 -0
  160. package/dist/spin-B2FU3Sx6.css +19 -0
  161. package/dist/spin-Bz4zGBEo.js +3 -0
  162. package/dist/spin-Ds5W7qC_.js +23 -0
  163. package/dist/stata-C0yUiO47.js +33 -0
  164. package/dist/strong-CvOjLZiq.js +83 -0
  165. package/dist/strong-DpeQmP2J.css +4 -0
  166. package/dist/svelte-rtF4yNGL.js +23 -0
  167. package/dist/swift-CzvYoIM0.js +24 -0
  168. package/dist/table-4ec9FVB_.js +59 -0
  169. package/dist/table-BWn_kG8W.css +19 -0
  170. package/dist/table-CJzlDdmv.css +34 -0
  171. package/dist/table-CZLbUHiJ.js +3 -0
  172. package/dist/table-DjkiVd9L.js +188 -0
  173. package/dist/terraform-CD_BZGb-.js +24 -0
  174. package/dist/text-D098eCyi.css +5 -0
  175. package/dist/text-D1-vbZ7l.js +23 -0
  176. package/dist/text-DuONUqRA.js +81 -0
  177. package/dist/thematic-break-C5zxgoE9.css +6 -0
  178. package/dist/thematic-break-CcNPEI9Y.js +81 -0
  179. package/dist/theme.css +67 -0
  180. package/dist/toml-C6jUF0Xd.js +24 -0
  181. package/dist/tooltip-Ac_2x9ps.js +4 -0
  182. package/dist/tooltip-DAngu9Wp.css +5 -0
  183. package/dist/tooltip-RiXixMIt.js +71 -0
  184. package/dist/twig-C4dfP84J.js +30 -0
  185. package/dist/typescript-Bk-pp-cK.js +23 -0
  186. package/dist/typst-DPCpaVSH.js +24 -0
  187. package/dist/v-nRGMJ2Ki.js +23 -0
  188. package/dist/vala-B78bKcY0.js +24 -0
  189. package/dist/vanilla-BZ8bn5Yz.css +4 -0
  190. package/dist/vanilla-CA9QO96X.js +3 -0
  191. package/dist/vanilla-DkX6g0dm.js +87 -0
  192. package/dist/verilog-CRpkl76S.js +23 -0
  193. package/dist/vim-DpKnut7b.js +24 -0
  194. package/dist/vue-D5eadhjo.js +23 -0
  195. package/dist/xml-Dvx5F-hl.js +24 -0
  196. package/dist/yaml-DJHrmzSe.js +94 -0
  197. package/dist/yaml-McBkYbxI.css +5 -0
  198. package/dist/yaml-n1S8nAOh.js +24 -0
  199. package/dist/zh-CN-CL1XGe0H.js +27 -0
  200. package/dist/zig-R-iFzxfW.js +24 -0
  201. package/dist/zoom-container-BDEP09K9.js +6 -0
  202. package/dist/zoom-container-BENM7TpV.css +28 -0
  203. package/dist/zoom-container-BfUO3Ocp.js +113 -0
  204. package/dist/zoomIn-CEukuh3x.js +28 -0
  205. package/dist/zoomOut-qlzQyQli.js +28 -0
  206. package/package.json +115 -0
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Jing Haihan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,96 @@
1
+ # vue-stream-markdown
2
+
3
+ [![npm version][npm-version-src]][npm-version-href]
4
+ [![License][license-src]][license-href]
5
+
6
+ A markdown renderer specially optimized for streaming scenarios, inspired by [streamdown](https://streamdown.ai/). Designed to achieve smoother streaming rendering through syntax inference and highly customizable rendering elements.
7
+
8
+ <br>
9
+
10
+ <p align="center">
11
+ <a href="#">📚 Documentation</a> |
12
+ <a href="#">🤹‍♂️ Playground</a>
13
+ </p>
14
+
15
+ <br>
16
+
17
+ ```sh
18
+ pnpm add vue-stream-markdown
19
+ ```
20
+
21
+ <p align='center'>
22
+ <img src='./assets/screenshot.png' />
23
+ </p>
24
+
25
+ ## Features
26
+
27
+ - 🚀 **Streaming-optimized rendering** - Incomplete node completion with loading states for images, tables, and code blocks to prevent visual jitter
28
+ - ⚡ **Incremental rendering** - Leverages [Shiki](https://shiki.style/)'s `codeToTokens` API for token-level updates, reducing DOM recreation overhead
29
+ - 📊 **Progressive Mermaid rendering** - Throttled, streaming-friendly diagram rendering with loading states
30
+ - 📐 **Beautiful LaTeX equations** - Render beautiful LaTeX equations with KaTeX support
31
+ - 🎯 **Interactive controls** - Copy and download buttons for images, tables, and code blocks
32
+ - 🎨 **Fully customizable** - Replace any AST node with your own Vue components
33
+ - ✨ **Beautiful built-in typography** - No atomic CSS required (Tailwind/UnoCSS), self-contained styles
34
+ - 🎨 **Theme-aware scoped styles** - Scoped styles under `.stream-markdown` with semantic `data-stream-markdown` attributes, following [shadcn/ui](https://ui.shadcn.com/) design system
35
+ - 🌏 **CJK language support** - Following `streamdown` design, handles emphasis with ideographic punctuation
36
+ - 🛡️ **Content hardening & security** - Built-in protection against malicious Markdown with URL validation and protocol blocking
37
+ - 🔒 **TypeScript type safety** - Comprehensive type definitions with full IntelliSense support
38
+
39
+ ## Usage
40
+
41
+ For detailed usage and API documentation, please refer to the [Documentation](#).
42
+
43
+ ```vue
44
+ <script setup lang="ts">
45
+ import { ref } from 'vue'
46
+ import { Markdown } from 'vue-stream-markdown'
47
+ // If you don't have shadcn CSS variables globally, import the theme
48
+ import 'vue-stream-markdown/theme.css'
49
+
50
+ const content = ref('# Hello World\n\nThis is a markdown content.')
51
+ </script>
52
+
53
+ <template>
54
+ <Markdown :content="content" />
55
+ </template>
56
+ ```
57
+
58
+ ## Credit
59
+
60
+ This project is inspired by [streamdown](https://streamdown.ai/) and even uses substantial source code from it.
61
+
62
+ This project also uses and benefits from:
63
+
64
+ - [mdast](https://github.com/syntax-tree/mdast) - Markdown Abstract Syntax Tree format
65
+ - [Shiki](https://shiki.style/) - Beautiful syntax highlighting
66
+ - [Mermaid](https://mermaid.js.org/) - Diagramming and charting tool
67
+ - [KaTeX](https://katex.org/) - Fast math typesetting library for the web
68
+
69
+ ## Troubleshooting
70
+
71
+ The playground supports generating shareable links and provides streaming controls (forward/backward navigation) for debugging streaming rendering issues.
72
+
73
+ If you encounter any problems, please:
74
+
75
+ 1. Use the **Generate Share Links** button in the playground to create a shareable link with your current content
76
+ 2. Enable the **AST Result** toggle to view the parsed AST syntax tree
77
+ 3. Copy the markdown content and AST syntax tree at the time of the issue
78
+
79
+ Please provide the shareable link, markdown content, and AST syntax tree when creating an issue. This will help me reproduce and diagnose the problem more effectively.
80
+
81
+ ## License
82
+
83
+ [MIT](./LICENSE) License © [jinghaihan](https://github.com/jinghaihan)
84
+
85
+ <!-- Badges -->
86
+
87
+ [npm-version-src]: https://img.shields.io/npm/v/vue-stream-markdown?style=flat&colorA=080f12&colorB=1fa669
88
+ [npm-version-href]: https://npmjs.com/package/vue-stream-markdown
89
+ [npm-downloads-src]: https://img.shields.io/npm/dm/vue-stream-markdown?style=flat&colorA=080f12&colorB=1fa669
90
+ [npm-downloads-href]: https://npmjs.com/package/vue-stream-markdown
91
+ [bundle-src]: https://img.shields.io/bundlephobia/minzip/vue-stream-markdown?style=flat&colorA=080f12&colorB=1fa669&label=minzip
92
+ [bundle-href]: https://bundlephobia.com/result?p=vue-stream-markdown
93
+ [license-src]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat&colorA=080f12&colorB=1fa669
94
+ [license-href]: https://github.com/jinghaihan/vue-stream-markdown/LICENSE
95
+ [jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
96
+ [jsdocs-href]: https://www.jsdocs.io/package/vue-stream-markdown
@@ -0,0 +1,29 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/angular
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ "fill-rule": "evenodd",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round"
15
+ }, [createElementVNode("path", {
16
+ stroke: "#ed8796",
17
+ d: "m8 1l6.5 2l-1 9.5L8 15l-5.5-2.5l-1-9.5z"
18
+ }), createElementVNode("path", {
19
+ stroke: "#cad3f5",
20
+ d: "m4.5 10.5l3.5-7l3.5 7m-5.796-2h4.635"
21
+ })], -1)])]);
22
+ }
23
+ var angular_default = markRaw({
24
+ name: "catppuccin-angular",
25
+ render
26
+ });
27
+
28
+ //#endregion
29
+ export { angular_default as default };
@@ -0,0 +1,29 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/angular-component
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ "fill-rule": "evenodd",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round"
15
+ }, [createElementVNode("path", {
16
+ stroke: "#8aadf4",
17
+ d: "m8 1l6.5 2l-1 9.5L8 15l-5.5-2.5l-1-9.5z"
18
+ }), createElementVNode("path", {
19
+ stroke: "#cad3f5",
20
+ d: "m4.5 10.5l3.5-7l3.5 7m-5.796-2h4.635"
21
+ })], -1)])]);
22
+ }
23
+ var angular_component_default = markRaw({
24
+ name: "catppuccin-angular-component",
25
+ render
26
+ });
27
+
28
+ //#endregion
29
+ export { angular_component_default as default };
@@ -0,0 +1,35 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/apache
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round"
14
+ }, [
15
+ createElementVNode("path", {
16
+ stroke: "#ed8796",
17
+ d: "M2.5 14.5a24.3 24.3 0 0 1 1.63-4.36c.21-.42.45-.84.7-1.26c2.75-4.61 6.63-6.8 8.67-7.38c-.8 3.52-3.91 10.46-10.15 10.4"
18
+ }),
19
+ createElementVNode("path", {
20
+ stroke: "#f5a97f",
21
+ d: "M6.14 6.96C8.7 3.64 11.76 1.99 13.5 1.5a18.5 18.5 0 0 1-2.27 5.46"
22
+ }),
23
+ createElementVNode("path", {
24
+ stroke: "#ed8796",
25
+ d: "M6.5 9.5h-2m1.25-2h2.71"
26
+ })
27
+ ], -1)])]);
28
+ }
29
+ var apache_default = markRaw({
30
+ name: "catppuccin-apache",
31
+ render
32
+ });
33
+
34
+ //#endregion
35
+ export { apache_default as default };
@@ -0,0 +1,24 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/asciidoc
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
11
+ fill: "none",
12
+ stroke: "#ed8796",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round",
15
+ d: "m3 15l1.714-4M5.78 8.5L9 1l6 14M1 8.5h7M1 11h6"
16
+ }, null, -1)])]);
17
+ }
18
+ var asciidoc_default = markRaw({
19
+ name: "catppuccin-asciidoc",
20
+ render
21
+ });
22
+
23
+ //#endregion
24
+ export { asciidoc_default as default };
@@ -0,0 +1,35 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/assembly
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("rect", {
11
+ width: "8",
12
+ height: "13.001",
13
+ x: "4",
14
+ y: "1.499",
15
+ fill: "none",
16
+ stroke: "#cad3f5",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ rx: "2.286",
20
+ ry: "2.286"
21
+ }, null, -1), createElementVNode("path", {
22
+ fill: "none",
23
+ stroke: "#cad3f5",
24
+ "stroke-linecap": "round",
25
+ "stroke-linejoin": "round",
26
+ d: "M4 4.5H1.5M4 8H1.5M4 11.5H1.5m13-7H12M14.5 8H12m2.5 3.5H12"
27
+ }, null, -1)])]);
28
+ }
29
+ var assembly_default = markRaw({
30
+ name: "catppuccin-assembly",
31
+ render
32
+ });
33
+
34
+ //#endregion
35
+ export { assembly_default as default };
@@ -0,0 +1,28 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/astro
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round"
14
+ }, [createElementVNode("path", {
15
+ stroke: "#cad3f5",
16
+ d: "M10.561 1.61L13.5 10.5c-.995-.517-2.395-1.298-3.5-1.493L8 3.5L6 9.007c-1.11.194-2.5.974-3.5 1.493l3.163-8.891c.121-.398.182-.597.302-.745A1 1 0 0 1 6.36.57c.176-.07.384-.07.8-.07h1.902c.416 0 .625 0 .801.071a1 1 0 0 1 .396.293c.12.148.18.347.301.746"
17
+ }), createElementVNode("path", {
18
+ stroke: "#c6a0f6",
19
+ d: "M10.411 11.266c-.43.365-1.292.613-2.283.613c-1.217 0-2.237-.374-2.508-.879a2.8 2.8 0 0 0-.119.831s-.063 1.038.666 1.76c0-.374.307-.679.686-.679c.648 0 .648.561.647 1.016v.04c0 .691.426 1.282 1.032 1.532a1.4 1.4 0 0 1-.141-.61c0-.658.39-.903.845-1.188c.36-.227.761-.479 1.038-.985a1.84 1.84 0 0 0 .137-1.451"
20
+ })], -1)])]);
21
+ }
22
+ var astro_default = markRaw({
23
+ name: "catppuccin-astro",
24
+ render
25
+ });
26
+
27
+ //#endregion
28
+ export { astro_default as default };
@@ -0,0 +1,27 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/bash
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ stroke: "#a6da95",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round"
15
+ }, [
16
+ createElementVNode("path", { d: "M2 15.5c-.7 0-1.5-.8-1.5-1.5V5c0-.7.8-1.5 1.5-1.5h9c.7 0 1.5.8 1.5 1.5v9c0 .7-.8 1.5-1.5 1.5z" }),
17
+ createElementVNode("path", { d: "m1.2 3.8l3.04-2.5S5.17.5 5.7.5h8.4c.66 0 1.4.73 1.4 1.4v7.73a2.7 2.7 0 0 1-.7 1.75l-2.68 3.51" }),
18
+ createElementVNode("path", { d: "M6 8.75c0-.69-.54-1.25-1.2-1.25h-.6c-.66 0-1.2.56-1.2 1.25S3.54 10 4.2 10h.6c.66 0 1.2.56 1.2 1.25s-.54 1.25-1.2 1.25h-.6c-.66 0-1.2-.56-1.2-1.25M4.5 6.5v1m0 5v1" })
19
+ ], -1)])]);
20
+ }
21
+ var bash_default = markRaw({
22
+ name: "catppuccin-bash",
23
+ render
24
+ });
25
+
26
+ //#endregion
27
+ export { bash_default as default };
@@ -0,0 +1,23 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/batch
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
11
+ fill: "none",
12
+ stroke: "#8aadf4",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round"
15
+ }, [createElementVNode("path", { d: "M2 15.5c-.7 0-1.5-.8-1.5-1.5V5c0-.7.8-1.5 1.5-1.5h9c.7 0 1.5.8 1.5 1.5v9c0 .7-.8 1.5-1.5 1.5z" }), createElementVNode("path", { d: "m1.2 3.8l3.04-2.5S5.17.5 5.7.5h8.4c.66 0 1.4.73 1.4 1.4v7.73a2.7 2.7 0 0 1-.7 1.75l-2.68 3.51M3 8.5l3 2l-3 2" })], -1)])]);
16
+ }
17
+ var batch_default = markRaw({
18
+ name: "catppuccin-batch",
19
+ render
20
+ });
21
+
22
+ //#endregion
23
+ export { batch_default as default };
@@ -0,0 +1,46 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+
3
+ //#region ~icons/catppuccin/bicep
4
+ const _hoisted_1 = {
5
+ viewBox: "0 0 16 16",
6
+ width: "1.2em",
7
+ height: "1.2em"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
+ createElementVNode("ellipse", {
12
+ cx: "12.07",
13
+ cy: "12.842",
14
+ fill: "none",
15
+ stroke: "#8aadf4",
16
+ "stroke-linecap": "round",
17
+ "stroke-linejoin": "round",
18
+ rx: "2.667",
19
+ ry: "2.658"
20
+ }, null, -1),
21
+ createElementVNode("ellipse", {
22
+ cx: "3.159",
23
+ cy: "12.074",
24
+ fill: "none",
25
+ stroke: "#8aadf4",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ rx: "1.895",
29
+ ry: "1.889"
30
+ }, null, -1),
31
+ createElementVNode("path", {
32
+ fill: "none",
33
+ stroke: "#8aadf4",
34
+ "stroke-linecap": "round",
35
+ "stroke-linejoin": "round",
36
+ d: "m3.05 10.191l8.837-.005m-9.057 3.74l8.767 1.533M8.43.5L7.246 1.726l-.36 1.862l1.346 1.237l1.81-.532l1.172-1.272m-9.11 7.483L6.922 3.75m-.894 6.164l1.718-5.181"
37
+ }, null, -1)
38
+ ])]);
39
+ }
40
+ var bicep_default = markRaw({
41
+ name: "catppuccin-bicep",
42
+ render
43
+ });
44
+
45
+ //#endregion
46
+ export { bicep_default as default };
@@ -0,0 +1,13 @@
1
+ .stream-markdown [data-stream-markdown="blockquote"] {
2
+ border-left: 4px solid color-mix(in oklab, var(--muted-foreground) 30%, transparent);
3
+ color: var(--muted-foreground);
4
+ margin-block: 1rem;
5
+ margin-inline: 0;
6
+ padding-left: 1rem;
7
+ font-style: italic;
8
+ position: relative;
9
+ }
10
+ .stream-markdown [data-stream-markdown="blockquote"] p {
11
+ margin-bottom: 0;
12
+ }
13
+
@@ -0,0 +1,83 @@
1
+ import { t as node_list_default } from "./node-list-CGr_EVtn.js";
2
+ import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
3
+
4
+ //#region src/components/renderers/blockquote.vue?vue&type=script&setup=true&lang.ts
5
+ const _hoisted_1 = { "data-stream-markdown": "blockquote" };
6
+ var blockquote_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
7
+ __name: "blockquote",
8
+ props: {
9
+ node: {
10
+ type: Object,
11
+ required: true
12
+ },
13
+ markdownParser: {
14
+ type: Object,
15
+ required: true
16
+ },
17
+ nodeRenderers: {
18
+ type: Object,
19
+ required: true
20
+ },
21
+ mediumZoom: {
22
+ type: Object,
23
+ required: true
24
+ },
25
+ indexKey: {
26
+ type: [Number, String],
27
+ required: true
28
+ },
29
+ getContainer: {
30
+ type: Function,
31
+ required: true
32
+ },
33
+ controls: {
34
+ type: [Boolean, Object],
35
+ required: false
36
+ },
37
+ previewers: {
38
+ type: [Boolean, Object],
39
+ required: false
40
+ },
41
+ shikiOptions: {
42
+ type: Object,
43
+ required: false
44
+ },
45
+ mermaidOptions: {
46
+ type: Object,
47
+ required: false
48
+ },
49
+ katexOptions: {
50
+ type: Object,
51
+ required: false
52
+ },
53
+ hardenOptions: {
54
+ type: Object,
55
+ required: false
56
+ },
57
+ codeOptions: {
58
+ type: Object,
59
+ required: false
60
+ },
61
+ imageOptions: {
62
+ type: Object,
63
+ required: false
64
+ },
65
+ isDark: {
66
+ type: Boolean,
67
+ required: false
68
+ }
69
+ },
70
+ setup(__props) {
71
+ const props = __props;
72
+ return (_ctx, _cache) => {
73
+ return openBlock(), createElementBlock("blockquote", _hoisted_1, [createVNode(node_list_default, mergeProps(props, { nodes: __props.node.children }), null, 16, ["nodes"])]);
74
+ };
75
+ }
76
+ });
77
+
78
+ //#endregion
79
+ //#region src/components/renderers/blockquote.vue
80
+ var blockquote_default = blockquote_vue_vue_type_script_setup_true_lang_default;
81
+
82
+ //#endregion
83
+ export { blockquote_default as default };
@@ -0,0 +1,5 @@
1
+ import "./composables-qhB1h_ed.js";
2
+ import "./tooltip-RiXixMIt.js";
3
+ import { t as button_default } from "./button-D8xx1WIP.js";
4
+
5
+ export { button_default as default };
@@ -0,0 +1,24 @@
1
+ .stream-markdown [data-stream-markdown="dropdown-overlay"] {
2
+ padding: .25rem;
3
+ }
4
+
5
+ .stream-markdown [data-stream-markdown="button"] {
6
+ cursor: pointer;
7
+ color: var(--muted-foreground);
8
+ transition-duration: var(--default-transition-duration);
9
+ background-color: #0000;
10
+ border: none;
11
+ border-radius: .375rem;
12
+ justify-content: center;
13
+ align-items: center;
14
+ gap: .25rem;
15
+ padding: .5rem;
16
+ font-size: .75rem;
17
+ line-height: 1rem;
18
+ display: flex;
19
+ }
20
+ .stream-markdown [data-stream-markdown="button"]:hover {
21
+ color: var(--foreground);
22
+ background-color: var(--accent);
23
+ }
24
+