@ashwin_droid/notion-stream 1.0.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/LICENSE +21 -0
- package/README.md +418 -0
- package/dist/_baseUniq-CT-tc-CG.mjs +477 -0
- package/dist/_baseUniq-DSwfPiGC.js +1 -0
- package/dist/abap-DV7Q1lGP.js +1 -0
- package/dist/abap-Y8Dl9g_6.mjs +6 -0
- package/dist/actionscript-3-DXOxkRa2.js +1 -0
- package/dist/actionscript-3-DZzbMeqX.mjs +6 -0
- package/dist/ada-D46EKCNf.js +1 -0
- package/dist/ada-vP6ak0IW.mjs +6 -0
- package/dist/andromeeda-BIpZ7gaU.mjs +4 -0
- package/dist/andromeeda-DVDxRwp5.js +1 -0
- package/dist/angular-html-DxvPVw44.mjs +32 -0
- package/dist/angular-html-JXV_E8IE.js +1 -0
- package/dist/angular-ts-CV6bdmcc.mjs +21 -0
- package/dist/angular-ts-ul8EvQZm.js +1 -0
- package/dist/apache-BUjz-sD2.mjs +6 -0
- package/dist/apache-DL1xuH1f.js +1 -0
- package/dist/apex-6AM9YZbQ.js +1 -0
- package/dist/apex-OyTfjCYK.mjs +6 -0
- package/dist/apl-BdW4yp7x.js +1 -0
- package/dist/apl-Cl3ewf1P.mjs +16 -0
- package/dist/applescript-BPx7YFFu.mjs +6 -0
- package/dist/applescript-COilsSrZ.js +1 -0
- package/dist/ara-B6Lpq1YJ.js +1 -0
- package/dist/ara-Z2fSOxSw.mjs +6 -0
- package/dist/arc-BBnIBs2j.js +1 -0
- package/dist/arc-DmoYXidQ.mjs +83 -0
- package/dist/architecture-U656AL7Q-C0ZB2O9M.js +1 -0
- package/dist/architecture-U656AL7Q-CMPtJMZ-.mjs +5 -0
- package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +36 -0
- package/dist/architectureDiagram-VXUJARFQ-BYzpbF40.mjs +4665 -0
- package/dist/asciidoc-B-pCoB3G.mjs +6 -0
- package/dist/asciidoc-DcKqW72n.js +1 -0
- package/dist/asm-BTWLY5ym.mjs +6 -0
- package/dist/asm-DYMFy-sD.js +1 -0
- package/dist/astro-BAqad-WM.js +1 -0
- package/dist/astro-CMhPddqn.mjs +18 -0
- package/dist/aurora-x-BwoVEUWZ.mjs +4 -0
- package/dist/aurora-x-C5IpmIOG.js +1 -0
- package/dist/awk-Fb0P9dkn.mjs +6 -0
- package/dist/awk-IEszImW6.js +1 -0
- package/dist/ayu-dark-CDpQIJw4.js +1 -0
- package/dist/ayu-dark-DG7aLdHp.mjs +4 -0
- package/dist/ballerina-Dr6dU4hP.js +1 -0
- package/dist/ballerina-oZK-YekG.mjs +6 -0
- package/dist/bat-0FvbqU9S.mjs +6 -0
- package/dist/bat-DGkUhhn2.js +1 -0
- package/dist/beancount-Bv1Sweoy.js +1 -0
- package/dist/beancount-DqJEb89h.mjs +6 -0
- package/dist/berry-DEMs4LK_.js +1 -0
- package/dist/berry-DODBq_Ff.mjs +6 -0
- package/dist/bibtex-BgA36Z3k.js +1 -0
- package/dist/bibtex-EULQRLY5.mjs +6 -0
- package/dist/bicep-BorU73w0.mjs +6 -0
- package/dist/bicep-DL0zb-7W.js +1 -0
- package/dist/blade-Cg1_QHbH.mjs +20 -0
- package/dist/blade-CgjUlvXO.js +1 -0
- package/dist/blockDiagram-VD42YOAC-DPVTCHn5.mjs +2265 -0
- package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +122 -0
- package/dist/bsl-Dy8wYKq-.mjs +8 -0
- package/dist/bsl-MeEzPwnu.js +1 -0
- package/dist/c-CtlmKnPF.js +1 -0
- package/dist/c-eeMepfLm.mjs +6 -0
- package/dist/c3-Bt581sCe.mjs +6 -0
- package/dist/c3-DtfRRWXN.js +1 -0
- package/dist/c4Diagram-YG6GDRKO-C2Y4q08p.mjs +1581 -0
- package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +10 -0
- package/dist/cadence-02UX7mW8.mjs +6 -0
- package/dist/cadence-DcbmM5v3.js +1 -0
- package/dist/cairo-Bl3vCTfQ.js +1 -0
- package/dist/cairo-DRXAUnCM.mjs +8 -0
- package/dist/catppuccin-frappe-Bn4lgmUk.js +1 -0
- package/dist/catppuccin-frappe-D3cH2rXe.mjs +4 -0
- package/dist/catppuccin-latte-BPtsb8jD.js +1 -0
- package/dist/catppuccin-latte-C0LRGUW4.mjs +4 -0
- package/dist/catppuccin-macchiato-BLfpQWhT.js +1 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.mjs +4 -0
- package/dist/catppuccin-mocha-COMta283.js +1 -0
- package/dist/catppuccin-mocha-WMD6Qvya.mjs +4 -0
- package/dist/channel-6dUO0MQi.js +1 -0
- package/dist/channel-DVpqhnow.mjs +5 -0
- package/dist/chunk-4BX2VUAB-BwubFldI.js +1 -0
- package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +9 -0
- package/dist/chunk-55IACEB6-Du1Simcj.mjs +8 -0
- package/dist/chunk-55IACEB6-P_FVKIbW.js +1 -0
- package/dist/chunk-B4BG7PRW-BUKsa2yH.mjs +1376 -0
- package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +165 -0
- package/dist/chunk-DI55MBZ5-C9h0qLVI.mjs +1382 -0
- package/dist/chunk-DI55MBZ5-CMq-O8k2.js +220 -0
- package/dist/chunk-FMBD7UC4-48-zdz-1.js +15 -0
- package/dist/chunk-FMBD7UC4-C08-zA06.mjs +19 -0
- package/dist/chunk-QN33PNHL-B0sO38bZ.js +1 -0
- package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +20 -0
- package/dist/chunk-QZHKN3VN-DbO6TJSK.mjs +15 -0
- package/dist/chunk-QZHKN3VN-Dy2264ui.js +1 -0
- package/dist/chunk-TZMSLE5B-BPmI9i6R.mjs +64 -0
- package/dist/chunk-TZMSLE5B-COENnLAZ.js +1 -0
- package/dist/clarity-PKm5CwqM.mjs +6 -0
- package/dist/clarity-gPuvqtpF.js +1 -0
- package/dist/classDiagram-2ON5EDUG-CFFwYK87.js +1 -0
- package/dist/classDiagram-2ON5EDUG-mzvV1Ifg.mjs +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-CFFwYK87.js +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs +16 -0
- package/dist/clojure-CXJfHrL3.mjs +6 -0
- package/dist/clojure-OUsr1SUl.js +1 -0
- package/dist/clone-B0UaPT2Z.js +1 -0
- package/dist/clone-KtLCwiKH.mjs +8 -0
- package/dist/cmake-BJz8BOTU.mjs +6 -0
- package/dist/cmake-jM6P58qY.js +1 -0
- package/dist/cobol-C86Guwll.mjs +10 -0
- package/dist/cobol-DReJOyN2.js +1 -0
- package/dist/code-block-37QAKDTI-CmykMxjQ.mjs +27 -0
- package/dist/code-block-37QAKDTI-sxlq94xm.js +2 -0
- package/dist/codeowners-Bt9yU6NX.mjs +6 -0
- package/dist/codeowners-QhPK6lIJ.js +1 -0
- package/dist/codeql-D9-TdUN8.js +1 -0
- package/dist/codeql-DHkodjjI.mjs +6 -0
- package/dist/coffee-CUyQUc3M.js +1 -0
- package/dist/coffee-Q-gFdR7e.mjs +8 -0
- package/dist/common-lisp-C77gR-8i.js +1 -0
- package/dist/common-lisp-EVqT9Zhp.mjs +6 -0
- package/dist/components/Block.d.ts +16 -0
- package/dist/components/FloatingToolbar.d.ts +8 -0
- package/dist/components/LinkModal.d.ts +8 -0
- package/dist/components/NotionStream.d.ts +3 -0
- package/dist/components/SlashMenu.d.ts +17 -0
- package/dist/components/blocks/BlockquoteBlock.d.ts +13 -0
- package/dist/components/blocks/CodeBlock.d.ts +14 -0
- package/dist/components/blocks/DividerBlock.d.ts +13 -0
- package/dist/components/blocks/HeadingBlock.d.ts +13 -0
- package/dist/components/blocks/ImageBlock.d.ts +13 -0
- package/dist/components/blocks/InlineEditableBlock.d.ts +18 -0
- package/dist/components/blocks/ListBlock.d.ts +13 -0
- package/dist/components/blocks/MathBlock.d.ts +14 -0
- package/dist/components/blocks/MermaidBlock.d.ts +14 -0
- package/dist/components/blocks/ParagraphBlock.d.ts +13 -0
- package/dist/components/blocks/TableBlock.d.ts +14 -0
- package/dist/components/blocks/index.d.ts +10 -0
- package/dist/coq-B0L9upzn.mjs +6 -0
- package/dist/coq-vlPdR5hP.js +1 -0
- package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +1 -0
- package/dist/cose-bilkent-S5V4N54A-BXcldnso.mjs +2605 -0
- package/dist/cpp-CGueNrnV.mjs +18 -0
- package/dist/cpp-ChNdME6I.js +1 -0
- package/dist/crystal-CVTji_sR.js +1 -0
- package/dist/crystal-CrVA7iLE.mjs +18 -0
- package/dist/csharp-BUkAIRXW.js +1 -0
- package/dist/csharp-C7yUs7-w.mjs +6 -0
- package/dist/css-CECN5uSL.mjs +6 -0
- package/dist/css-Do0mp2lm.js +1 -0
- package/dist/csv-CmYOceLb.mjs +6 -0
- package/dist/csv-DiEdJzSJ.js +1 -0
- package/dist/cue-D1vJRJEx.js +1 -0
- package/dist/cue-ZzumE7IT.mjs +6 -0
- package/dist/cypher-atSM3NsM.js +1 -0
- package/dist/cypher-jpdmjtA6.mjs +6 -0
- package/dist/cytoscape.esm-DkGgpG6d.js +331 -0
- package/dist/cytoscape.esm-ZmItrg9y.mjs +18731 -0
- package/dist/d-2qe3NhmZ.js +1 -0
- package/dist/d-CBagWSwH.mjs +6 -0
- package/dist/dagre-6UL2VRFP-By42zbLA.mjs +446 -0
- package/dist/dagre-6UL2VRFP-DCwfkcWi.js +4 -0
- package/dist/dark-plus-Cd5emcYO.js +1 -0
- package/dist/dark-plus-pUHDTVV0.mjs +4 -0
- package/dist/dart-6ObCrKr9.mjs +6 -0
- package/dist/dart-Ds0_0fwe.js +1 -0
- package/dist/dax-CcDT-8dH.mjs +6 -0
- package/dist/dax-DbkQa40E.js +1 -0
- package/dist/defaultLocale-BgPVtth8.mjs +171 -0
- package/dist/defaultLocale-C4wbwF1n.js +1 -0
- package/dist/desktop-B93p9R9O.mjs +6 -0
- package/dist/desktop-tn3MFXCZ.js +1 -0
- package/dist/diagram-PSM6KHXK-DIV3jw9d.mjs +534 -0
- package/dist/diagram-PSM6KHXK-hjXN9n1N.js +24 -0
- package/dist/diagram-QEK2KX5R-B04ODMim.js +43 -0
- package/dist/diagram-QEK2KX5R-Q0M2_YtR.mjs +221 -0
- package/dist/diagram-S2PKOQOG-BmCs4MZE.js +24 -0
- package/dist/diagram-S2PKOQOG-_WGA6s2-.mjs +143 -0
- package/dist/diff-BxzP2J8R.mjs +6 -0
- package/dist/diff-CA31fCOg.js +1 -0
- package/dist/docker-CsHqm9tx.mjs +6 -0
- package/dist/docker-zJpMwmYa.js +1 -0
- package/dist/dotenv-BMjVjUL1.mjs +6 -0
- package/dist/dotenv-DpcNCNek.js +1 -0
- package/dist/dracula-BNgwAJ-d.js +1 -0
- package/dist/dracula-BtZx2Kac.mjs +4 -0
- package/dist/dracula-soft-BHZ7sHFu.js +1 -0
- package/dist/dracula-soft-BKa-aqBv.mjs +4 -0
- package/dist/dream-maker-BkijXDkm.js +1 -0
- package/dist/dream-maker-PAx17jaB.mjs +6 -0
- package/dist/edge-B28yp_Zk.js +1 -0
- package/dist/edge-CBKv6mfK.mjs +12 -0
- package/dist/elixir-D7-1KNL2.js +1 -0
- package/dist/elixir-rttMGqaI.mjs +8 -0
- package/dist/elm-BkJa-nJb.js +1 -0
- package/dist/elm-DCe9MkDR.mjs +8 -0
- package/dist/emacs-lisp-C1UCIjUO.js +1 -0
- package/dist/emacs-lisp-Cfxdx5D-.mjs +6 -0
- package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +60 -0
- package/dist/erDiagram-Q2GNP2WA-CW0D_QGb.mjs +842 -0
- package/dist/erb-BTG3NMrz.mjs +10 -0
- package/dist/erb-DJ1tHjRo.js +1 -0
- package/dist/erlang-CxyQpgjh.mjs +8 -0
- package/dist/erlang-DztDLzIS.js +1 -0
- package/dist/everforest-dark-DMCBqXCK.mjs +4 -0
- package/dist/everforest-dark-_sBMomR1.js +1 -0
- package/dist/everforest-light-BbXl82Em.mjs +4 -0
- package/dist/everforest-light-H0xoYxl0.js +1 -0
- package/dist/fennel-Bz9-EMMc.js +1 -0
- package/dist/fennel-N4WcXuKx.mjs +6 -0
- package/dist/fish-BTDEUgqH.mjs +6 -0
- package/dist/fish-DwmQKRZi.js +1 -0
- package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +162 -0
- package/dist/flowDiagram-NV44I4VS-DVQ8Ntc4.mjs +1627 -0
- package/dist/fluent-BMXUxfv1.mjs +6 -0
- package/dist/fluent-CJtpNuaO.js +1 -0
- package/dist/fortran-fixed-form-CM5372im.js +1 -0
- package/dist/fortran-fixed-form-CYWf1Rx6.mjs +8 -0
- package/dist/fortran-free-form-Cs4ztolN.js +1 -0
- package/dist/fortran-free-form-CwqYvCLJ.mjs +6 -0
- package/dist/fsharp-C8GKou_e.js +1 -0
- package/dist/fsharp-DlcX35ZM.mjs +8 -0
- package/dist/ganttDiagram-JELNMOA3-Bk-dX6qT.mjs +2662 -0
- package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +267 -0
- package/dist/gdresource-Bx-5U3z2.js +1 -0
- package/dist/gdresource-CyVuoaDS.mjs +10 -0
- package/dist/gdscript-BifyeYhI.mjs +6 -0
- package/dist/gdscript-DSegQKMB.js +1 -0
- package/dist/gdshader-Bk8fF6yr.mjs +6 -0
- package/dist/gdshader-DsmqQl4t.js +1 -0
- package/dist/genie-Dy2rU8CF.js +1 -0
- package/dist/genie-DzUvd7U9.mjs +6 -0
- package/dist/gherkin-BmiEVBJ1.js +1 -0
- package/dist/gherkin-DHRaV0YP.mjs +6 -0
- package/dist/git-commit-B0NDtut1.js +1 -0
- package/dist/git-commit-MKnTTyU-.mjs +8 -0
- package/dist/git-rebase-CMl42lXc.mjs +8 -0
- package/dist/git-rebase-lJEbayNx.js +1 -0
- package/dist/gitGraph-F6HP7TQM-CsdwxYUE.mjs +5 -0
- package/dist/gitGraph-F6HP7TQM-DvIgo2TM.js +1 -0
- package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +712 -0
- package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +65 -0
- package/dist/github-dark-BKL9xNgN.js +1 -0
- package/dist/github-dark-DenFmJkN.mjs +4 -0
- package/dist/github-dark-default-BJPUVz4H.mjs +4 -0
- package/dist/github-dark-default-Dsv5MuSi.js +1 -0
- package/dist/github-dark-dimmed-CtB9hz8U.js +1 -0
- package/dist/github-dark-dimmed-DUshB20C.mjs +4 -0
- package/dist/github-dark-high-contrast-BqZVM-jF.js +1 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.mjs +4 -0
- package/dist/github-light-BFTOhCbz.js +1 -0
- package/dist/github-light-JYsPkUQd.mjs +4 -0
- package/dist/github-light-default-BZoWH9dH.js +1 -0
- package/dist/github-light-default-D99KPAby.mjs +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.mjs +4 -0
- package/dist/github-light-high-contrast-Ks3kPGJU.js +1 -0
- package/dist/gleam-Bv284lvN.mjs +6 -0
- package/dist/gleam-DHVuTCr7.js +1 -0
- package/dist/glimmer-js-C360zq_P.mjs +14 -0
- package/dist/glimmer-js-CxLlFUHs.js +1 -0
- package/dist/glimmer-ts-C8Spe63v.js +1 -0
- package/dist/glimmer-ts-CfTSEFGl.mjs +14 -0
- package/dist/glsl-BcHRsW10.js +1 -0
- package/dist/glsl-CwleMY6T.mjs +8 -0
- package/dist/gn-0WGnAyGi.js +1 -0
- package/dist/gn-XtJxiLa4.mjs +6 -0
- package/dist/gnuplot-CDPKvI9X.js +1 -0
- package/dist/gnuplot-yPG9-sE_.mjs +6 -0
- package/dist/go-ChxJuLYK.mjs +6 -0
- package/dist/go-epHseFUa.js +1 -0
- package/dist/graph-BNpx6ebg.js +1 -0
- package/dist/graph-C_T4ZBuC.mjs +381 -0
- package/dist/graphql-BO3Jc_L3.js +1 -0
- package/dist/graphql-C2GhtI7U.mjs +14 -0
- package/dist/groovy-CJQTphOW.mjs +6 -0
- package/dist/groovy-D7VuDBXz.js +1 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.mjs +4 -0
- package/dist/gruvbox-dark-hard-CUGefKS6.js +1 -0
- package/dist/gruvbox-dark-medium-BoKPlKfz.js +1 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.mjs +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.mjs +4 -0
- package/dist/gruvbox-dark-soft-DSrhOWeL.js +1 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.mjs +4 -0
- package/dist/gruvbox-light-hard-De4IuseP.js +1 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.mjs +4 -0
- package/dist/gruvbox-light-medium-CzMY3IEJ.js +1 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.mjs +4 -0
- package/dist/gruvbox-light-soft-U4iAIpWZ.js +1 -0
- package/dist/hack-CdSL77Ey.mjs +10 -0
- package/dist/hack-Dr4YFULU.js +1 -0
- package/dist/haml-C1VBSiBb.mjs +10 -0
- package/dist/haml-DjC-8E5i.js +1 -0
- package/dist/handlebars-oLCVaT_d.mjs +14 -0
- package/dist/handlebars-vZrL3oRU.js +1 -0
- package/dist/haskell-BShesV2P.js +1 -0
- package/dist/haskell-WeIwNIP6.mjs +6 -0
- package/dist/haxe-Bo5XuRS0.js +1 -0
- package/dist/haxe-TztHsm5T.mjs +6 -0
- package/dist/hcl-CrZnvm-1.js +1 -0
- package/dist/hcl-D438OF-I.mjs +6 -0
- package/dist/hjson-CEESwTUP.js +1 -0
- package/dist/hjson-DYBUbqOl.mjs +6 -0
- package/dist/hlsl-Bk8TCZNL.mjs +6 -0
- package/dist/hlsl-CyvYRIb9.js +1 -0
- package/dist/hooks/useBlockState.d.ts +14 -0
- package/dist/hooks/useDiffReview.d.ts +26 -0
- package/dist/hooks/useMarkdownShortcuts.d.ts +23 -0
- package/dist/hooks/useStreamParser.d.ts +10 -0
- package/dist/houston-BDYrDoDW.mjs +4 -0
- package/dist/houston-T57H3gQZ.js +1 -0
- package/dist/html-Cub4lUvx.js +1 -0
- package/dist/html-DyXkxE0I.mjs +10 -0
- package/dist/html-derivative-BFG_GIVT.mjs +8 -0
- package/dist/html-derivative-DbGZSkO4.js +1 -0
- package/dist/http-J4eraUTU.js +1 -0
- package/dist/http-Xl8ey4Mx.mjs +14 -0
- package/dist/hurl-1DL8OH_r.js +1 -0
- package/dist/hurl-BP6fZ4DX.mjs +12 -0
- package/dist/hxml-DrnMPCCd.js +1 -0
- package/dist/hxml-L6NLEKuJ.mjs +8 -0
- package/dist/hy-Brt5EZ7-.mjs +6 -0
- package/dist/hy-a1E2Ed6P.js +1 -0
- package/dist/imba-CR1Q6r17.js +1 -0
- package/dist/imba-CimUv-Uh.mjs +6 -0
- package/dist/index-CkYZRBYn.js +676 -0
- package/dist/index-oe4HpmeG.mjs +58831 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +37 -0
- package/dist/info-NVLQJR56-B5gDnSIT.mjs +5 -0
- package/dist/info-NVLQJR56-BwFQRguW.js +1 -0
- package/dist/infoDiagram-WHAUD3N6-C-gzsm95.mjs +24 -0
- package/dist/infoDiagram-WHAUD3N6-CCb5k_S7.js +2 -0
- package/dist/ini-BZIuRIvJ.mjs +6 -0
- package/dist/ini-Dpu3Xy2p.js +1 -0
- package/dist/init-CHZsXQcr.js +1 -0
- package/dist/init-DjUOC4st.mjs +16 -0
- package/dist/java--6gf61wy.js +1 -0
- package/dist/java-DY6VlHhP.mjs +6 -0
- package/dist/javascript-C25yR2R2.mjs +6 -0
- package/dist/javascript-DgmXW4Ha.js +1 -0
- package/dist/jinja-CJxRwHVK.js +1 -0
- package/dist/jinja-Y2BGSZfx.mjs +11 -0
- package/dist/jison-CH6PZfPk.js +1 -0
- package/dist/jison-Dpv9Qnty.mjs +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs +836 -0
- package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +139 -0
- package/dist/json-DxJze_jm.mjs +6 -0
- package/dist/json-YkPizm35.js +1 -0
- package/dist/json5-BT4Fjg39.mjs +6 -0
- package/dist/json5-CCgFZiQn.js +1 -0
- package/dist/jsonc-CHjZD8gR.mjs +6 -0
- package/dist/jsonc-CKPHIcXW.js +1 -0
- package/dist/jsonl-BGuvDmy9.mjs +6 -0
- package/dist/jsonl-Dq56Hab-.js +1 -0
- package/dist/jsonnet-Bx2cfsXg.mjs +6 -0
- package/dist/jsonnet-Csh7E68F.js +1 -0
- package/dist/jssm-BcADi6EI.mjs +6 -0
- package/dist/jssm-D0M9iZPY.js +1 -0
- package/dist/jsx-BtKADgXT.mjs +6 -0
- package/dist/jsx-DLX6UGgg.js +1 -0
- package/dist/julia-DOO7NZhy.js +1 -0
- package/dist/julia-QwvTXUPU.mjs +16 -0
- package/dist/kanagawa-dragon-BJZF7xDr.js +1 -0
- package/dist/kanagawa-dragon-CiKur4Hl.mjs +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.mjs +4 -0
- package/dist/kanagawa-lotus-BhgzmRV4.js +1 -0
- package/dist/kanagawa-wave-BgJip59C.js +1 -0
- package/dist/kanagawa-wave-CQwozSzG.mjs +4 -0
- package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +720 -0
- package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +89 -0
- package/dist/kdl-BNOv9TC3.mjs +6 -0
- package/dist/kdl-CDG1p2Qi.js +1 -0
- package/dist/kotlin-BHZjvNqT.js +1 -0
- package/dist/kotlin-ByBMgTeR.mjs +6 -0
- package/dist/kusto-C6kOQWT0.js +1 -0
- package/dist/kusto-DH_XitHS.mjs +6 -0
- package/dist/laserwave--izBLY1I.js +1 -0
- package/dist/laserwave-6a00oqik.mjs +4 -0
- package/dist/latex-BkUAME40.js +1 -0
- package/dist/latex-Dhl9FnIw.mjs +8 -0
- package/dist/layout-Cd98WJ7r.mjs +1441 -0
- package/dist/layout-CuWQnP5Y.js +1 -0
- package/dist/lean-BnVxaZxY.mjs +6 -0
- package/dist/lean-DvVQmxVK.js +1 -0
- package/dist/less-B1GLI2Di.mjs +6 -0
- package/dist/less-Dtg8mm6P.js +1 -0
- package/dist/light-plus-B5D0le0o.js +1 -0
- package/dist/light-plus-CZuVqSLX.mjs +4 -0
- package/dist/linear-DFDw13y6.js +1 -0
- package/dist/linear-SU4e8MRt.mjs +259 -0
- package/dist/liquid-D2h0MxA-.js +1 -0
- package/dist/liquid-nAv19oBv.mjs +14 -0
- package/dist/llvm-DcRvQ_r8.js +1 -0
- package/dist/llvm-co1rIKs3.mjs +6 -0
- package/dist/log-Al8wyEFV.mjs +6 -0
- package/dist/log-CjTZ0gSB.js +1 -0
- package/dist/logo-BAktp_5i.js +1 -0
- package/dist/logo-DBa4JDzV.mjs +6 -0
- package/dist/lua-7_7huFMq.js +1 -0
- package/dist/lua-CG3yDRXR.mjs +8 -0
- package/dist/luau-BMXmwtw0.js +1 -0
- package/dist/luau-UQyhudEE.mjs +6 -0
- package/dist/make-CsMclxtr.mjs +6 -0
- package/dist/make-NcdIe21U.js +1 -0
- package/dist/markdown-Byu9Sdmq.js +1 -0
- package/dist/markdown-CrScaQ96.mjs +6 -0
- package/dist/marko-BUUK5Bjn.js +1 -0
- package/dist/marko-BkS1PqTg.mjs +14 -0
- package/dist/material-theme-D6KBX41T.mjs +4 -0
- package/dist/material-theme-Dj0-OyRN.js +1 -0
- package/dist/material-theme-darker-CkRroheE.mjs +4 -0
- package/dist/material-theme-darker-Dvfs29ir.js +1 -0
- package/dist/material-theme-lighter-BUBw43Yz.mjs +4 -0
- package/dist/material-theme-lighter-EU3ZGl_r.js +1 -0
- package/dist/material-theme-ocean-ClGX14Ja.mjs +4 -0
- package/dist/material-theme-ocean-px_3Pwqa.js +1 -0
- package/dist/material-theme-palenight-38jxvsGX.js +1 -0
- package/dist/material-theme-palenight-C1RVm8K1.mjs +4 -0
- package/dist/matlab-BOAaUVP0.mjs +6 -0
- package/dist/matlab-CHTOL9Kx.js +1 -0
- package/dist/mdc-DYb1IR0A.js +1 -0
- package/dist/mdc-DjkQ6W2y.mjs +12 -0
- package/dist/mdx-BOhZZUJ8.mjs +6 -0
- package/dist/mdx-CjwI68TB.js +1 -0
- package/dist/mermaid-4DMBBIKO-BihEtyib.js +1 -0
- package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +4 -0
- package/dist/mermaid-BXSwQYo5.js +1 -0
- package/dist/mermaid-C3rz4dYh.mjs +6 -0
- package/dist/mermaid-parser.core-BHAgLMGa.js +128 -0
- package/dist/mermaid-parser.core-C8Sxzqul.mjs +15138 -0
- package/dist/min-C2k771MZ.mjs +38 -0
- package/dist/min-CppMRDFn.js +1 -0
- package/dist/min-dark-C7ak0t6c.mjs +4 -0
- package/dist/min-dark-tt5o_I5e.js +1 -0
- package/dist/min-light-CKFxVcPp.mjs +4 -0
- package/dist/min-light-tmTHl_CQ.js +1 -0
- package/dist/mindmap-definition-VGOIOE7T-BUd354uH.mjs +786 -0
- package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +68 -0
- package/dist/mipsasm-BSlRcFIy.js +1 -0
- package/dist/mipsasm-CTx18fBl.mjs +6 -0
- package/dist/mojo-CgKe2b8g.mjs +6 -0
- package/dist/mojo-D2tXKFxS.js +1 -0
- package/dist/monokai-C1KBYcO0.mjs +4 -0
- package/dist/monokai-DMIxv6MM.js +1 -0
- package/dist/moonbit-BweIWWUc.js +1 -0
- package/dist/moonbit-NVPuhMCm.mjs +6 -0
- package/dist/move-Bm1vlCWg.js +1 -0
- package/dist/move-F-dICmj2.mjs +6 -0
- package/dist/narrat-CBeKHgTl.js +1 -0
- package/dist/narrat-DmhDCBs-.mjs +6 -0
- package/dist/nextflow-CM8Ed358.js +1 -0
- package/dist/nextflow-DmSVRGjG.mjs +6 -0
- package/dist/nginx-Cy_SAdKw.mjs +8 -0
- package/dist/nginx-F8v4LkHE.js +1 -0
- package/dist/night-owl-BN78kThQ.js +1 -0
- package/dist/night-owl-Bm2rzalh.mjs +4 -0
- package/dist/nim-B4StNpZz.mjs +20 -0
- package/dist/nim-Bz82v_0I.js +1 -0
- package/dist/nix-BOiBJUDf.js +1 -0
- package/dist/nix-fTRXMGic.mjs +9 -0
- package/dist/nord-CC5OiUXg.mjs +4 -0
- package/dist/nord-Ca5AGUWc.js +1 -0
- package/dist/nushell-D8j3dhT-.mjs +6 -0
- package/dist/nushell-nGrB_wpI.js +1 -0
- package/dist/objective-c-Itk8tzmv.mjs +6 -0
- package/dist/objective-c-RjkWwFge.js +1 -0
- package/dist/objective-cpp-DGt5UKRO.mjs +6 -0
- package/dist/objective-cpp-HnfhWwRe.js +1 -0
- package/dist/ocaml-Cx8ewW_A.js +1 -0
- package/dist/ocaml-eSVK32Eg.mjs +6 -0
- package/dist/one-dark-pro-C09VQHwB.js +1 -0
- package/dist/one-dark-pro-DTA3VF0_.mjs +4 -0
- package/dist/one-light-020-h_lv.js +1 -0
- package/dist/one-light-D9sNaUtq.mjs +4 -0
- package/dist/openscad-D7eUrVPv.js +1 -0
- package/dist/openscad-Sp5uZ6f2.mjs +6 -0
- package/dist/ordinal-C0oynhte.mjs +61 -0
- package/dist/ordinal-CPpcdEvZ.js +1 -0
- package/dist/packet-BFZMPI3H-CFx3kSkL.js +1 -0
- package/dist/packet-BFZMPI3H-Cz_A86d3.mjs +5 -0
- package/dist/pascal-DBu9vQ2o.js +1 -0
- package/dist/pascal-xy8pJNns.mjs +6 -0
- package/dist/perl-BGWXz6Sf.js +1 -0
- package/dist/perl-BHbGvfXZ.mjs +16 -0
- package/dist/php-B7ztg6tr.mjs +18 -0
- package/dist/php-BMqBbP55.js +1 -0
- package/dist/pie-7BOR55EZ-B0-atE_o.mjs +5 -0
- package/dist/pie-7BOR55EZ-_1MqisBd.js +1 -0
- package/dist/pieDiagram-ADFJNKIX-Bg0_gu43.js +30 -0
- package/dist/pieDiagram-ADFJNKIX-lRs_rpwI.mjs +161 -0
- package/dist/pkl-C-zSNmaA.mjs +6 -0
- package/dist/pkl-Dvyry4Rm.js +1 -0
- package/dist/plastic-CSTz3KZp.mjs +4 -0
- package/dist/plastic-r5piqq-S.js +1 -0
- package/dist/plsql-IJkoPJ9P.js +1 -0
- package/dist/plsql-pVbGZfOv.mjs +6 -0
- package/dist/po-BNfHvqmm.mjs +6 -0
- package/dist/po-Rhu6MvnX.js +1 -0
- package/dist/poimandres-BLP3NNjc.js +1 -0
- package/dist/poimandres-C-VADXHD.mjs +4 -0
- package/dist/polar-BtWqSUq2.js +1 -0
- package/dist/polar-CAZahv3u.mjs +6 -0
- package/dist/postcss-05aHdL-n.mjs +6 -0
- package/dist/postcss-Dh97DcaJ.js +1 -0
- package/dist/powerquery-BGL6VIw7.js +1 -0
- package/dist/powerquery-DI9HkTvs.mjs +6 -0
- package/dist/powershell-BiEPMjy-.js +1 -0
- package/dist/powershell-Clc4ydu-.mjs +6 -0
- package/dist/prisma-Dp473sn0.js +1 -0
- package/dist/prisma-FZjmVtSl.mjs +6 -0
- package/dist/prolog-C5-yg4TO.mjs +6 -0
- package/dist/prolog-N1U-3UeF.js +1 -0
- package/dist/proto-C7QgialS.mjs +6 -0
- package/dist/proto-DMjUErYA.js +1 -0
- package/dist/pug-I1IOsXt4.mjs +12 -0
- package/dist/pug-bTUJx3Z-.js +1 -0
- package/dist/puppet-CUJHmnxV.mjs +6 -0
- package/dist/puppet-cDQP_ZC_.js +1 -0
- package/dist/purescript-DMxb59gF.js +1 -0
- package/dist/purescript-rUfGld-4.mjs +6 -0
- package/dist/python-BFNSHbwJ.mjs +6 -0
- package/dist/python-s9jfVbew.js +1 -0
- package/dist/qml-BxN9rt5O.mjs +8 -0
- package/dist/qml-CDzfIfOz.js +1 -0
- package/dist/qmldir-BInDYbpo.mjs +6 -0
- package/dist/qmldir-DNF9H2ir.js +1 -0
- package/dist/qss-AeJTysr_.mjs +6 -0
- package/dist/qss-DwA_oiAM.js +1 -0
- package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +7 -0
- package/dist/quadrantDiagram-AYHSOK5B-D9kypJt6.mjs +1024 -0
- package/dist/r-CSmzDPi7.mjs +6 -0
- package/dist/r-DAqIyZhh.js +1 -0
- package/dist/racket-B83wSAja.mjs +6 -0
- package/dist/racket-D4laxZit.js +1 -0
- package/dist/radar-NHE76QYJ-B-PvZD0K.mjs +5 -0
- package/dist/radar-NHE76QYJ-CdtC4C8F.js +1 -0
- package/dist/raku-DHySPsLw.js +1 -0
- package/dist/raku-nEQ4ZJJ7.mjs +6 -0
- package/dist/razor-BW3hho9N.mjs +10 -0
- package/dist/razor-DqXh8oK-.js +1 -0
- package/dist/red-7y8PH7HH.mjs +4 -0
- package/dist/red-BQGOv1D5.js +1 -0
- package/dist/reg-CevkCKuZ.js +1 -0
- package/dist/reg-m_s_Kiip.mjs +6 -0
- package/dist/regexp-BazyLpPg.mjs +6 -0
- package/dist/regexp-DabTWNLE.js +1 -0
- package/dist/rel-BS5APza7.js +1 -0
- package/dist/rel-BcRfyd6Q.mjs +6 -0
- package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs +852 -0
- package/dist/riscv-BnGFr6V7.js +1 -0
- package/dist/riscv-Ce8MAQLP.mjs +6 -0
- package/dist/rose-pine-BKc3yVeu.mjs +4 -0
- package/dist/rose-pine-CfBWm6WX.js +1 -0
- package/dist/rose-pine-dawn-BulJcPZT.mjs +4 -0
- package/dist/rose-pine-dawn-CaZ5I2lt.js +1 -0
- package/dist/rose-pine-moon-Cql8LDLp.js +1 -0
- package/dist/rose-pine-moon-j6jiXKV8.mjs +4 -0
- package/dist/rosmsg-C7VSFzUC.js +1 -0
- package/dist/rosmsg-Cz0w1km8.mjs +6 -0
- package/dist/rst-CmsHU1oq.js +1 -0
- package/dist/rst-Don6TZad.mjs +22 -0
- package/dist/ruby-DZp7Kthb.js +1 -0
- package/dist/ruby-DkElldd8.mjs +30 -0
- package/dist/rust-CLzF9zIN.mjs +6 -0
- package/dist/rust-CNeTMPbB.js +1 -0
- package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-DprIPFbe.mjs +810 -0
- package/dist/sas-Dgv5I5OF.mjs +8 -0
- package/dist/sas-Du-NqkIN.js +1 -0
- package/dist/sass-DxHp5rTx.mjs +6 -0
- package/dist/sass-vyo-bUwh.js +1 -0
- package/dist/scala-D4grkFkl.mjs +6 -0
- package/dist/scala-ZSekD-8-.js +1 -0
- package/dist/scheme-BCRWuEm4.mjs +6 -0
- package/dist/scheme-vM0LdD-_.js +1 -0
- package/dist/scss-C9Hu3bmX.js +1 -0
- package/dist/scss-DGhQJWhB.mjs +8 -0
- package/dist/sdbl-B7T8abf4.mjs +6 -0
- package/dist/sdbl-DeWT5r4i.js +1 -0
- package/dist/sequenceDiagram-WL72ISMW-B4m4oag0.mjs +2518 -0
- package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +145 -0
- package/dist/shaderlab-DFNHwaQA.js +1 -0
- package/dist/shaderlab-D_9jCtR2.mjs +8 -0
- package/dist/shellscript-DYWjN7qW.js +1 -0
- package/dist/shellscript-InADTalH.mjs +6 -0
- package/dist/shellsession-5qZnCWz3.js +1 -0
- package/dist/shellsession-DtcyY-Wh.mjs +8 -0
- package/dist/slack-dark-akqwQ7ED.js +1 -0
- package/dist/slack-dark-i7wN4OET.mjs +4 -0
- package/dist/slack-ochin-BoQQWmTv.js +1 -0
- package/dist/slack-ochin-ndHf0LoP.mjs +4 -0
- package/dist/smalltalk-BNs6hxu4.js +1 -0
- package/dist/smalltalk-BlI1_OkM.mjs +6 -0
- package/dist/snazzy-light-BlSJXAu4.mjs +4 -0
- package/dist/snazzy-light-D_IwRieF.js +1 -0
- package/dist/solarized-dark-UTmkh7lw.mjs +4 -0
- package/dist/solarized-dark-gmm-WbDC.js +1 -0
- package/dist/solarized-light-BheCkDPT.mjs +4 -0
- package/dist/solarized-light-DzcxRSZP.js +1 -0
- package/dist/solidity-DUWnFhS6.mjs +6 -0
- package/dist/solidity-uQuzgchP.js +1 -0
- package/dist/soy-BztBK6ie.js +1 -0
- package/dist/soy-DwpxgXXf.mjs +8 -0
- package/dist/sparql-B6tDvEgg.mjs +8 -0
- package/dist/sparql-Ds57h-sT.js +1 -0
- package/dist/splunk-CRXR8A9s.mjs +6 -0
- package/dist/splunk-CWPivao_.js +1 -0
- package/dist/sql-Cn_v3PB0.mjs +6 -0
- package/dist/sql-DhUUVgH1.js +1 -0
- package/dist/ssh-config-B93wBIBa.js +1 -0
- package/dist/ssh-config-DP-hNVbF.mjs +6 -0
- package/dist/stata-B-erP_01.js +1 -0
- package/dist/stata-CuK25SjT.mjs +8 -0
- package/dist/stateDiagram-FKZM4ZOC-BD4tnS-V.js +1 -0
- package/dist/stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs +16 -0
- package/dist/stateDiagram-v2-4FDKWEC3-sybMoxOk.js +1 -0
- package/dist/stylus-B64Bt0D4.js +1 -0
- package/dist/stylus-CyKEU1Ej.mjs +6 -0
- package/dist/svelte-CPZ3YGr5.js +1 -0
- package/dist/svelte-DA_HkuHw.mjs +14 -0
- package/dist/swift-9UzSvamq.mjs +6 -0
- package/dist/swift-BMbGdc3j.js +1 -0
- package/dist/synthwave-84-BBRLOmNT.js +1 -0
- package/dist/synthwave-84-NU3C_KFZ.mjs +4 -0
- package/dist/system-verilog-BCm7smPJ.mjs +6 -0
- package/dist/system-verilog-BFclLo9e.js +1 -0
- package/dist/systemd-C-4qm6XH.mjs +6 -0
- package/dist/systemd-Dtw7P4tb.js +1 -0
- package/dist/talonscript-CFF3LF_O.mjs +6 -0
- package/dist/talonscript-D8SvZJVc.js +1 -0
- package/dist/tasl--DC4oX-L.js +1 -0
- package/dist/tasl-Cg_WBUAe.mjs +6 -0
- package/dist/tcl-0Q0H86Yn.js +1 -0
- package/dist/tcl-DN7buRTF.mjs +6 -0
- package/dist/templ-DADdpFDY.js +1 -0
- package/dist/templ-YBaeMuI7.mjs +12 -0
- package/dist/terraform-C0RDrmWi.js +1 -0
- package/dist/terraform-DGvcn9zM.mjs +6 -0
- package/dist/tex-3QW4GAT7.js +1 -0
- package/dist/tex-4CAOFrzL.mjs +8 -0
- package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +61 -0
- package/dist/timeline-definition-IT6M3QCI-BFuQEeZP.mjs +801 -0
- package/dist/tokyo-night-DP4TmcQl.mjs +4 -0
- package/dist/tokyo-night-GOhjzM5y.js +1 -0
- package/dist/toml-DY62mUL_.mjs +6 -0
- package/dist/toml-Q64DoSvG.js +1 -0
- package/dist/treemap-KMMF4GRG-DTnRa789.js +1 -0
- package/dist/treemap-KMMF4GRG-gtrnY16v.mjs +5 -0
- package/dist/ts-tags-DAIOErdC.mjs +41 -0
- package/dist/ts-tags-DW4c6MY1.js +1 -0
- package/dist/tsv-BtvSkaG0.mjs +6 -0
- package/dist/tsv-DqNGnuVj.js +1 -0
- package/dist/tsx-B8rCNbgL.mjs +6 -0
- package/dist/tsx-DIpfUf9u.js +1 -0
- package/dist/turtle-DipIidr5.js +1 -0
- package/dist/turtle-_H59FV7D.mjs +6 -0
- package/dist/twig-CkOV7KOv.mjs +18 -0
- package/dist/twig-DE2P6STQ.js +1 -0
- package/dist/types/index.d.ts +163 -0
- package/dist/typescript-RycA9KXf.mjs +6 -0
- package/dist/typescript-b48wo4zk.js +1 -0
- package/dist/typespec-DWqp-kUU.mjs +6 -0
- package/dist/typespec-DqXOE4_L.js +1 -0
- package/dist/typst-Cqq4j4V-.js +1 -0
- package/dist/typst-D_1QKWns.mjs +6 -0
- package/dist/utils/cursor-utils.d.ts +28 -0
- package/dist/utils/diff.d.ts +74 -0
- package/dist/utils/format-selection.d.ts +8 -0
- package/dist/utils/markdown-parser.d.ts +3 -0
- package/dist/utils/span-dom.d.ts +21 -0
- package/dist/utils/spans.d.ts +18 -0
- package/dist/v-81C2s01-.js +1 -0
- package/dist/v-BPCNiyYe.mjs +6 -0
- package/dist/vala-CsAYdCD2.js +1 -0
- package/dist/vala-uxaPR7d1.mjs +6 -0
- package/dist/vb-AiTMb16X.js +1 -0
- package/dist/vb-D8_c5-KN.mjs +6 -0
- package/dist/verilog-AMohXZcN.js +1 -0
- package/dist/verilog-B-bybjPF.mjs +6 -0
- package/dist/vesper-B59Iw4gV.js +1 -0
- package/dist/vesper-BckBta1U.mjs +4 -0
- package/dist/vhdl-CUlNa8ac.mjs +6 -0
- package/dist/vhdl-DIdR1NA5.js +1 -0
- package/dist/viml-D01eKeA4.js +1 -0
- package/dist/viml-DsfA-sWm.mjs +6 -0
- package/dist/vitesse-black-BoGvW84i.mjs +4 -0
- package/dist/vitesse-black-MF-1S1MG.js +1 -0
- package/dist/vitesse-dark-Cym-eLtO.mjs +4 -0
- package/dist/vitesse-dark-SIffJYSe.js +1 -0
- package/dist/vitesse-light-CcmG315c.mjs +4 -0
- package/dist/vitesse-light-U63SkYGT.js +1 -0
- package/dist/vue-BHXwUkEL.js +1 -0
- package/dist/vue-Qp02Uakc.mjs +31 -0
- package/dist/vue-html-B4znhqmy.js +1 -0
- package/dist/vue-html-Cg0YpUCP.mjs +8 -0
- package/dist/vue-vine-CHNjSzYC.js +1 -0
- package/dist/vue-vine-PHeyj-D9.mjs +18 -0
- package/dist/vyper-CPQuu50u.mjs +6 -0
- package/dist/vyper-DTzyzn3a.js +1 -0
- package/dist/wasm-BBXxrAl7.mjs +6 -0
- package/dist/wasm-DQxwEHae.mjs +7 -0
- package/dist/wasm-Dp-QrJpp.js +1 -0
- package/dist/wasm-Dw4u1m6u.js +1 -0
- package/dist/wenyan-CRNx8UP3.js +1 -0
- package/dist/wenyan-pbVjoM9_.mjs +6 -0
- package/dist/wgsl-DF5qc9dd.js +1 -0
- package/dist/wgsl-DY4iK1q1.mjs +6 -0
- package/dist/wikitext-D7uzEIfK.js +1 -0
- package/dist/wikitext-Z-MoUasO.mjs +6 -0
- package/dist/wit-BjWgLsJj.js +1 -0
- package/dist/wit-CQMQOlTg.mjs +6 -0
- package/dist/wolfram-BR4t3Ffc.js +1 -0
- package/dist/wolfram-Dz4KXISs.mjs +6 -0
- package/dist/xml-Dwj6NfjK.mjs +8 -0
- package/dist/xml-Vhl3ZuN2.js +1 -0
- package/dist/xsl-B2ZJiKs2.js +1 -0
- package/dist/xsl-Pe9theme.mjs +8 -0
- package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +7 -0
- package/dist/xychartDiagram-PRI3JC2R-CjXiy6m0.mjs +1340 -0
- package/dist/yaml-DaO7k5B1.mjs +6 -0
- package/dist/yaml-XVBmpKh-.js +1 -0
- package/dist/zenscript-CxBjpf9c.mjs +6 -0
- package/dist/zenscript-fNvwKexi.js +1 -0
- package/dist/zig-BAyIAcWK.js +1 -0
- package/dist/zig-Vm0PO9wB.mjs +6 -0
- package/package.json +73 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 ashwin_droid
|
|
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,418 @@
|
|
|
1
|
+
# @ashwin_droid/notion-stream
|
|
2
|
+
|
|
3
|
+
A React component that converts streaming markdown into editable Notion-like blocks with real-time rendering. Perfect for AI chat interfaces, collaborative editors, and any application that needs to display and edit markdown content in a beautiful, block-based format.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Streaming Support**: Renders markdown in real-time as it streams in (perfect for LLM responses)
|
|
8
|
+
- **Notion-like Editing**: Click-to-edit blocks with familiar keyboard shortcuts
|
|
9
|
+
- **Rich Block Types**: Paragraphs, headings (H1-H6), lists, blockquotes, code blocks, tables, images, math (LaTeX), Mermaid diagrams, and dividers
|
|
10
|
+
- **Inline Formatting**: Bold, italic, strikethrough, inline code, links, and inline math
|
|
11
|
+
- **Slash Commands**: Type `/` to quickly insert any block type
|
|
12
|
+
- **Markdown Shortcuts**: Type `#`, `-`, `1.`, `>`, `` ``` ``, `---` etc. to convert blocks
|
|
13
|
+
- **Dark Mode**: Built-in light/dark theme support with system preference detection
|
|
14
|
+
- **Diff Review**: Built-in utilities for comparing and reviewing markdown changes
|
|
15
|
+
- **Fully Typed**: Complete TypeScript support with exported types
|
|
16
|
+
- **Customizable**: Hooks for custom block rendering and slash commands
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @ashwin_droid/notion-stream
|
|
22
|
+
# or
|
|
23
|
+
yarn add @ashwin_droid/notion-stream
|
|
24
|
+
# or
|
|
25
|
+
pnpm add @ashwin_droid/notion-stream
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Quick Start
|
|
29
|
+
|
|
30
|
+
```tsx
|
|
31
|
+
import { NotionStream } from '@ashwin_droid/notion-stream'
|
|
32
|
+
import '@ashwin_droid/notion-stream/styles.css'
|
|
33
|
+
|
|
34
|
+
function App() {
|
|
35
|
+
const [markdown, setMarkdown] = useState('# Hello World\n\nStart typing...')
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<NotionStream
|
|
39
|
+
markdown={markdown}
|
|
40
|
+
onMarkdownChange={setMarkdown}
|
|
41
|
+
/>
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Usage with Streaming (AI Chat)
|
|
47
|
+
|
|
48
|
+
```tsx
|
|
49
|
+
import { NotionStream } from '@ashwin_droid/notion-stream'
|
|
50
|
+
import '@ashwin_droid/notion-stream/styles.css'
|
|
51
|
+
|
|
52
|
+
function ChatMessage({ stream }: { stream: AsyncIterable<string> }) {
|
|
53
|
+
const [markdown, setMarkdown] = useState('')
|
|
54
|
+
const [isStreaming, setIsStreaming] = useState(true)
|
|
55
|
+
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
async function consume() {
|
|
58
|
+
for await (const chunk of stream) {
|
|
59
|
+
setMarkdown(prev => prev + chunk)
|
|
60
|
+
}
|
|
61
|
+
setIsStreaming(false)
|
|
62
|
+
}
|
|
63
|
+
consume()
|
|
64
|
+
}, [stream])
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<NotionStream
|
|
68
|
+
markdown={markdown}
|
|
69
|
+
isStreaming={isStreaming}
|
|
70
|
+
onMarkdownChange={setMarkdown}
|
|
71
|
+
/>
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Props
|
|
77
|
+
|
|
78
|
+
### `NotionStreamProps`
|
|
79
|
+
|
|
80
|
+
| Prop | Type | Default | Description |
|
|
81
|
+
|------|------|---------|-------------|
|
|
82
|
+
| `markdown` | `string` | required | The markdown content to render |
|
|
83
|
+
| `isStreaming` | `boolean` | `false` | Whether content is currently streaming in |
|
|
84
|
+
| `onMarkdownChange` | `(markdown: string) => void` | - | Callback when content is edited |
|
|
85
|
+
| `className` | `string` | `''` | Additional CSS classes |
|
|
86
|
+
| `theme` | `'light' \| 'dark' \| 'system'` | auto-detect | Theme mode |
|
|
87
|
+
| `readonly` | `boolean` | `false` | Disable editing (viewer mode) |
|
|
88
|
+
| `hooks` | `BlockHooks` | - | Custom block hooks (see below) |
|
|
89
|
+
|
|
90
|
+
## Block Types
|
|
91
|
+
|
|
92
|
+
NotionStream supports the following block types:
|
|
93
|
+
|
|
94
|
+
| Block | Markdown Syntax | Description |
|
|
95
|
+
|-------|----------------|-------------|
|
|
96
|
+
| Paragraph | Plain text | Default text block |
|
|
97
|
+
| Heading 1-6 | `# ` to `###### ` | Section headings |
|
|
98
|
+
| Bulleted List | `- ` or `* ` | Unordered list items |
|
|
99
|
+
| Numbered List | `1. ` | Ordered list items |
|
|
100
|
+
| Blockquote | `> ` | Quote blocks |
|
|
101
|
+
| Code Block | ` ``` ` | Syntax-highlighted code |
|
|
102
|
+
| Math Block | `$$` | LaTeX equations (KaTeX) |
|
|
103
|
+
| Mermaid | ` ```mermaid ` | Diagrams and flowcharts |
|
|
104
|
+
| Table | `\| ... \|` | Markdown tables |
|
|
105
|
+
| Image | `` | Image blocks |
|
|
106
|
+
| Divider | `---` | Horizontal rule |
|
|
107
|
+
|
|
108
|
+
## Inline Formatting
|
|
109
|
+
|
|
110
|
+
| Style | Markdown | Result |
|
|
111
|
+
|-------|----------|--------|
|
|
112
|
+
| Bold | `**text**` | **text** |
|
|
113
|
+
| Italic | `*text*` or `_text_` | *text* |
|
|
114
|
+
| Strikethrough | `~~text~~` | ~~text~~ |
|
|
115
|
+
| Inline Code | `` `code` `` | `code` |
|
|
116
|
+
| Link | `[text](url)` | [text](url) |
|
|
117
|
+
| Inline Math | `$x^2$` | Rendered LaTeX |
|
|
118
|
+
|
|
119
|
+
## Keyboard Shortcuts
|
|
120
|
+
|
|
121
|
+
### Block Operations
|
|
122
|
+
- `Enter` - Create new block below (in paragraphs/lists)
|
|
123
|
+
- `Backspace` at start - Delete empty block or merge with previous
|
|
124
|
+
- `Tab` / `Shift+Tab` - Indent/outdent list items
|
|
125
|
+
- `/` on empty block - Open slash command menu
|
|
126
|
+
|
|
127
|
+
### Markdown Shortcuts (type at start of empty block)
|
|
128
|
+
- `# ` - Heading 1
|
|
129
|
+
- `## ` - Heading 2
|
|
130
|
+
- `### ` - Heading 3
|
|
131
|
+
- `- ` or `* ` - Bulleted list
|
|
132
|
+
- `1. ` - Numbered list
|
|
133
|
+
- `> ` - Blockquote
|
|
134
|
+
- `` ``` `` - Code block
|
|
135
|
+
- `---` - Divider
|
|
136
|
+
|
|
137
|
+
## Ref API
|
|
138
|
+
|
|
139
|
+
Access the imperative API using a ref:
|
|
140
|
+
|
|
141
|
+
```tsx
|
|
142
|
+
import { useRef } from 'react'
|
|
143
|
+
import { NotionStream, NotionStreamRef } from '@ashwin_droid/notion-stream'
|
|
144
|
+
|
|
145
|
+
function Editor() {
|
|
146
|
+
const ref = useRef<NotionStreamRef>(null)
|
|
147
|
+
|
|
148
|
+
const addCodeBlock = () => {
|
|
149
|
+
ref.current?.insertBlockAfter(null, {
|
|
150
|
+
type: 'code',
|
|
151
|
+
language: 'typescript',
|
|
152
|
+
content: '// Your code here'
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return (
|
|
157
|
+
<>
|
|
158
|
+
<button onClick={addCodeBlock}>Add Code Block</button>
|
|
159
|
+
<NotionStream ref={ref} markdown="" />
|
|
160
|
+
</>
|
|
161
|
+
)
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### `NotionStreamRef` Methods
|
|
166
|
+
|
|
167
|
+
| Method | Signature | Description |
|
|
168
|
+
|--------|-----------|-------------|
|
|
169
|
+
| `updateBlock` | `(blockId: string, value: string \| Span[]) => void` | Update block content |
|
|
170
|
+
| `getBlock` | `(blockId: string) => Block \| null` | Get block by ID |
|
|
171
|
+
| `getAllBlocks` | `() => Block[]` | Get all blocks |
|
|
172
|
+
| `getMarkdown` | `() => string` | Get current markdown |
|
|
173
|
+
| `insertBlockAfter` | `(blockId: string \| null, block: BlockInsert) => string` | Insert new block |
|
|
174
|
+
| `deleteBlock` | `(blockId: string) => void` | Delete a block |
|
|
175
|
+
| `setBlockType` | `(blockId: string, type: BlockType, options?) => void` | Change block type |
|
|
176
|
+
| `indentListItem` | `(blockId: string) => void` | Indent list item |
|
|
177
|
+
| `outdentListItem` | `(blockId: string) => void` | Outdent list item |
|
|
178
|
+
|
|
179
|
+
## Custom Block Rendering
|
|
180
|
+
|
|
181
|
+
Use hooks to customize block rendering:
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
import { NotionStream, BlockHooks, Block } from '@ashwin_droid/notion-stream'
|
|
185
|
+
|
|
186
|
+
const hooks: BlockHooks = {
|
|
187
|
+
renderBlock: (block: Block, defaultRender: () => React.ReactNode) => {
|
|
188
|
+
// Custom rendering for specific blocks
|
|
189
|
+
if (block.type === 'code' && block.language === 'custom') {
|
|
190
|
+
return <MyCustomCodeBlock code={block.content} />
|
|
191
|
+
}
|
|
192
|
+
// Fall back to default rendering
|
|
193
|
+
return defaultRender()
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
onBlockChange: (blockId: string, newValue: string | Span[], block: Block) => {
|
|
197
|
+
console.log('Block changed:', blockId, newValue)
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function Editor() {
|
|
202
|
+
return <NotionStream markdown="" hooks={hooks} />
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Custom Slash Commands
|
|
207
|
+
|
|
208
|
+
Add your own slash commands:
|
|
209
|
+
|
|
210
|
+
```tsx
|
|
211
|
+
const hooks: BlockHooks = {
|
|
212
|
+
getSlashCommands: ({ block }) => [
|
|
213
|
+
{
|
|
214
|
+
id: 'callout',
|
|
215
|
+
title: 'Callout',
|
|
216
|
+
description: 'Highlighted callout box',
|
|
217
|
+
group: 'Custom',
|
|
218
|
+
aliases: ['info', 'warning'],
|
|
219
|
+
icon: <InfoIcon />,
|
|
220
|
+
execute: (api, { blockId }) => {
|
|
221
|
+
api.setBlockType(blockId, 'blockquote')
|
|
222
|
+
api.updateBlock(blockId, [{ text: 'Callout content', style: 'plain' }])
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
## Diff Review Utilities
|
|
230
|
+
|
|
231
|
+
Compare and review markdown changes:
|
|
232
|
+
|
|
233
|
+
```tsx
|
|
234
|
+
import { useDiffReview } from '@ashwin_droid/notion-stream'
|
|
235
|
+
|
|
236
|
+
function DiffReviewer({ original, modified }: { original: string; modified: string }) {
|
|
237
|
+
const {
|
|
238
|
+
items, // Array of diff items
|
|
239
|
+
decisions, // Current accept/reject decisions
|
|
240
|
+
accept, // Accept a change
|
|
241
|
+
reject, // Reject a change
|
|
242
|
+
resultMarkdown, // Final markdown after applying decisions
|
|
243
|
+
stats // { added, removed, modified, accepted, rejected, pending }
|
|
244
|
+
} = useDiffReview({
|
|
245
|
+
baseMarkdown: original,
|
|
246
|
+
nextMarkdown: modified,
|
|
247
|
+
defaultDecision: 'unset'
|
|
248
|
+
})
|
|
249
|
+
|
|
250
|
+
return (
|
|
251
|
+
<div>
|
|
252
|
+
{items.map(item => (
|
|
253
|
+
<div key={item.id}>
|
|
254
|
+
{item.type === 'added' && <span className="text-green-500">+ {item.markdown}</span>}
|
|
255
|
+
{item.type === 'removed' && <span className="text-red-500">- {item.markdown}</span>}
|
|
256
|
+
{item.type !== 'unchanged' && (
|
|
257
|
+
<>
|
|
258
|
+
<button onClick={() => accept(item.id)}>Accept</button>
|
|
259
|
+
<button onClick={() => reject(item.id)}>Reject</button>
|
|
260
|
+
</>
|
|
261
|
+
)}
|
|
262
|
+
</div>
|
|
263
|
+
))}
|
|
264
|
+
</div>
|
|
265
|
+
)
|
|
266
|
+
}
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Diff Utilities
|
|
270
|
+
|
|
271
|
+
| Function | Description |
|
|
272
|
+
|----------|-------------|
|
|
273
|
+
| `computeDiff(a, b)` | Word-level diff between strings |
|
|
274
|
+
| `computeCodeDiff(a, b)` | Line-level diff for code with inline highlights |
|
|
275
|
+
| `computeMarkdownBlockDiff(a, b)` | Block-level markdown diff |
|
|
276
|
+
| `computeMarkdownDiffReviewItems(a, b)` | Structured diff for review UI |
|
|
277
|
+
| `applyMarkdownDiffReview(items, decisions)` | Apply review decisions to get final markdown |
|
|
278
|
+
|
|
279
|
+
## Low-Level Hooks
|
|
280
|
+
|
|
281
|
+
For advanced use cases, individual hooks are exported:
|
|
282
|
+
|
|
283
|
+
```tsx
|
|
284
|
+
import {
|
|
285
|
+
useStreamParser, // Parse markdown into blocks
|
|
286
|
+
useBlockState, // Manage block state
|
|
287
|
+
useMarkdownShortcuts, // Handle markdown shortcuts
|
|
288
|
+
useDiffReview // Diff review utilities
|
|
289
|
+
} from '@ashwin_droid/notion-stream'
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## Span Utilities
|
|
293
|
+
|
|
294
|
+
Work with inline formatting:
|
|
295
|
+
|
|
296
|
+
```tsx
|
|
297
|
+
import {
|
|
298
|
+
parseMarkdownToSpans, // Parse inline markdown to spans
|
|
299
|
+
spansToMarkdown, // Convert spans back to markdown
|
|
300
|
+
spansToHtml, // Convert spans to HTML
|
|
301
|
+
renderSpans, // Render spans as React nodes
|
|
302
|
+
applyStyleToRange, // Apply style to text range
|
|
303
|
+
toggleStyle // Toggle inline style
|
|
304
|
+
} from '@ashwin_droid/notion-stream'
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
## Block Components
|
|
308
|
+
|
|
309
|
+
Individual block components are exported for custom layouts:
|
|
310
|
+
|
|
311
|
+
```tsx
|
|
312
|
+
import {
|
|
313
|
+
ParagraphBlock,
|
|
314
|
+
HeadingBlock,
|
|
315
|
+
CodeBlock,
|
|
316
|
+
ImageBlock,
|
|
317
|
+
MathBlock,
|
|
318
|
+
MermaidBlock,
|
|
319
|
+
ListBlock,
|
|
320
|
+
BlockquoteBlock,
|
|
321
|
+
DividerBlock
|
|
322
|
+
} from '@ashwin_droid/notion-stream'
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
## Theming
|
|
326
|
+
|
|
327
|
+
### Auto Theme Detection
|
|
328
|
+
|
|
329
|
+
By default, NotionStream detects the theme from:
|
|
330
|
+
1. `.dark` class on `<html>` or `<body>` elements
|
|
331
|
+
2. System preference via `prefers-color-scheme`
|
|
332
|
+
|
|
333
|
+
### Explicit Theme
|
|
334
|
+
|
|
335
|
+
```tsx
|
|
336
|
+
<NotionStream markdown="" theme="dark" />
|
|
337
|
+
<NotionStream markdown="" theme="light" />
|
|
338
|
+
<NotionStream markdown="" theme="system" />
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
### CSS Variables
|
|
342
|
+
|
|
343
|
+
Customize colors using CSS variables:
|
|
344
|
+
|
|
345
|
+
```css
|
|
346
|
+
.notion-stream {
|
|
347
|
+
--notion-bg: #ffffff;
|
|
348
|
+
--notion-text: #1f2937;
|
|
349
|
+
--notion-text-secondary: #6b7280;
|
|
350
|
+
--notion-border: #e5e7eb;
|
|
351
|
+
/* ... see styles.css for all variables */
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.notion-stream.dark {
|
|
355
|
+
--notion-bg: #1f2937;
|
|
356
|
+
--notion-text: #f3f4f6;
|
|
357
|
+
/* ... */
|
|
358
|
+
}
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
## TypeScript Types
|
|
362
|
+
|
|
363
|
+
All types are exported:
|
|
364
|
+
|
|
365
|
+
```tsx
|
|
366
|
+
import type {
|
|
367
|
+
Block,
|
|
368
|
+
BlockType,
|
|
369
|
+
InlineBlock,
|
|
370
|
+
Span,
|
|
371
|
+
InlineStyle,
|
|
372
|
+
ListType,
|
|
373
|
+
BlockInsert,
|
|
374
|
+
SlashCommand,
|
|
375
|
+
NotionStreamProps,
|
|
376
|
+
NotionStreamRef,
|
|
377
|
+
BlockHooks,
|
|
378
|
+
BlockProps,
|
|
379
|
+
Theme,
|
|
380
|
+
TableAlign,
|
|
381
|
+
TableBlock,
|
|
382
|
+
DiffSegment,
|
|
383
|
+
CodeDiff,
|
|
384
|
+
MarkdownDiffReviewItem,
|
|
385
|
+
DiffReviewDecision
|
|
386
|
+
} from '@ashwin_droid/notion-stream'
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
## Peer Dependencies
|
|
390
|
+
|
|
391
|
+
This package requires:
|
|
392
|
+
- `react` >= 18.0.0
|
|
393
|
+
- `react-dom` >= 18.0.0
|
|
394
|
+
|
|
395
|
+
## Dependencies
|
|
396
|
+
|
|
397
|
+
NotionStream uses:
|
|
398
|
+
- [streamdown](https://npmjs.com/package/streamdown) - Streaming markdown rendering
|
|
399
|
+
- [katex](https://katex.org/) - LaTeX math rendering
|
|
400
|
+
- [nanoid](https://github.com/ai/nanoid) - Unique ID generation
|
|
401
|
+
|
|
402
|
+
## Browser Support
|
|
403
|
+
|
|
404
|
+
- Chrome/Edge (latest)
|
|
405
|
+
- Firefox (latest)
|
|
406
|
+
- Safari (latest)
|
|
407
|
+
|
|
408
|
+
## License
|
|
409
|
+
|
|
410
|
+
MIT
|
|
411
|
+
|
|
412
|
+
## Contributing
|
|
413
|
+
|
|
414
|
+
Contributions are welcome! Please open an issue or submit a pull request.
|
|
415
|
+
|
|
416
|
+
## Acknowledgments
|
|
417
|
+
|
|
418
|
+
Inspired by Notion's block-based editing experience.
|