docmedown 0.1.7 → 0.9.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 +201 -21
- package/README.md +86 -37
- package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
- package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
- package/dist/cli.js +672 -1294
- package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
- package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
- package/dist/docmedown-compiler.js +228 -0
- package/dist/docmedown-mermaid.js +3588 -0
- package/dist/docmedown.cjs +7264 -80
- package/dist/docmedown.iife.js +7624 -424
- package/dist/docmedown.mjs +15531 -15009
- package/dist/docmedown.web.js +7628 -0
- package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
- package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
- package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
- package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
- package/dist/mermaid-BvOI3ZSW.js +3334 -0
- package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
- package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
- package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
- package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
- package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
- package/dist/prism-CeBRmKvl.js +2 -0
- package/dist/prism-CummdiZX.mjs +1588 -0
- package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
- package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
- package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
- package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
- package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
- package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
- package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
- package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
- package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
- package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
- package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
- package/dist/svelte-runtime-Brc440dp.js +5 -0
- package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
- package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
- package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
- package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
- package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
- package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
- package/dist/ts-compiler-U7pTMJjY.js +3 -0
- package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
- package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
- package/dist/types/runtime/bridges/index.d.ts +3 -0
- package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
- package/dist/types/runtime/compiler-cache.d.ts +18 -0
- package/dist/types/runtime/config-schema.d.ts +2 -0
- package/dist/types/runtime/favicons.d.ts +28 -0
- package/dist/types/runtime/loader/local-loader.d.ts +13 -0
- package/dist/types/runtime/markdown/component-body.d.ts +7 -0
- package/dist/types/runtime/markdown/escape.d.ts +1 -0
- package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
- package/dist/types/runtime/markdown/katex.d.ts +5 -0
- package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
- package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
- package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
- package/dist/types/runtime/markdown/tables.d.ts +68 -0
- package/dist/types/runtime/media.d.ts +30 -0
- package/dist/types/runtime/motion.d.ts +134 -0
- package/dist/types/runtime/offline-export.d.ts +9 -2
- package/dist/types/runtime/router.d.ts +40 -2
- package/dist/types/runtime/splash.d.ts +90 -0
- package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
- package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
- package/dist/types/runtime/svelte-runtime.d.ts +29 -0
- package/dist/types/runtime/svelte-tag.d.ts +7 -0
- package/dist/types/runtime/ts-compiler.d.ts +24 -0
- package/dist/types/runtime/types.d.ts +1 -0
- package/dist/types/ui/doc-context.svelte.d.ts +198 -0
- package/dist/types/ui/index.d.ts +33 -0
- package/dist/types/ui/registry.d.ts +52 -0
- package/dist/types/ui/theme.svelte.d.ts +32 -0
- package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
- package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
- package/package.json +61 -48
- package/schemas/docs.schema.json +186 -181
- package/templates/.dmd/CounterWidget.svelte +29 -0
- package/templates/README.md +2 -2
- package/templates/favicon.svg +12 -0
- package/templates/favicons/favicon-book.svg +11 -0
- package/templates/favicons/favicon-markdown.svg +11 -0
- package/templates/favicons/favicon-minimal.svg +15 -0
- package/templates/favicons/favicon-terminal.svg +14 -0
- package/templates/favicons/favicon.svg +12 -0
- package/templates/guides/custom-components.md +82 -22
- package/templates/index.html +6 -3
- package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
- package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
- package/dist/arc-DgPKXEdT.mjs +0 -82
- package/dist/arc-n7TW7Bis.js +0 -1
- package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
- package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
- package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
- package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
- package/dist/array-CApNbSU9.mjs +0 -6
- package/dist/array-DZSRzHA_.js +0 -1
- package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
- package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
- package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
- package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
- package/dist/channel-LgHproiI.mjs +0 -5
- package/dist/channel-yqu0m4cl.js +0 -1
- package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
- package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
- package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
- package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
- package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
- package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
- package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
- package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
- package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
- package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
- package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
- package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
- package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
- package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
- package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
- package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
- package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
- package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
- package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
- package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
- package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
- package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
- package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
- package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
- package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
- package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
- package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
- package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
- package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
- package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
- package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
- package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
- package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
- package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
- package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
- package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
- package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
- package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
- package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
- package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
- package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
- package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
- package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
- package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
- package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
- package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
- package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
- package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
- package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
- package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
- package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
- package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
- package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
- package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
- package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
- package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
- package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
- package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
- package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
- package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
- package/dist/dagre-CZ6P9L_h.js +0 -1
- package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
- package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
- package/dist/dagre-J_1oH0eY.mjs +0 -1934
- package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
- package/dist/defaultLocale-ybN1Vtvg.js +0 -1
- package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
- package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
- package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
- package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
- package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
- package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
- package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
- package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
- package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
- package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
- package/dist/dist-CXWJafG_.js +0 -1
- package/dist/dist-DNdLIC8h.mjs +0 -59
- package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
- package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
- package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
- package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
- package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
- package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
- package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
- package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
- package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
- package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
- package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
- package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
- package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
- package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
- package/dist/graphlib-BaETKKSa.js +0 -1
- package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
- package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
- package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
- package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
- package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
- package/dist/init-BJdqMO10.js +0 -1
- package/dist/init-CsQUQz36.mjs +0 -13
- package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
- package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
- package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
- package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
- package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
- package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
- package/dist/line-BEwhHSLl.js +0 -1
- package/dist/line-CiXRog8O.mjs +0 -34
- package/dist/linear-75tfjrny.js +0 -1
- package/dist/linear-Ncx_RuON.mjs +0 -288
- package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
- package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
- package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
- package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
- package/dist/ordinal-B1BNQwUR.mjs +0 -65
- package/dist/ordinal-B9aFWmF9.js +0 -1
- package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
- package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
- package/dist/path-CnWkkRiY.mjs +0 -84
- package/dist/path-DIS6ck99.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
- package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
- package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
- package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
- package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
- package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
- package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
- package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
- package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
- package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
- package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
- package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
- package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
- package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
- package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
- package/dist/rough.esm-ChRLLRha.js +0 -1
- package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
- package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
- package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
- package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
- package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
- package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
- package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
- package/dist/src-B4mN2BMl.js +0 -1
- package/dist/src-D_hsMyeP.mjs +0 -2154
- package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
- package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
- package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
- package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
- package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
- package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
- package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
- package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
- package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
- package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
- package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
- package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
- package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
- package/dist/types/runtime/app.d.ts +0 -9
- package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
- package/dist/types/runtime/components/Builtins.d.ts +0 -44
- package/dist/types/runtime/components/Content.d.ts +0 -2
- package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
- package/dist/types/runtime/components/Layout.d.ts +0 -2
- package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
- package/dist/types/runtime/components/Navbar.d.ts +0 -2
- package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
- package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
- package/dist/types/runtime/components/Sidebar.d.ts +0 -2
- package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
- package/dist/types/runtime/index.d.ts +0 -8
- package/dist/types/runtime/markdown/renderer.d.ts +0 -7
- package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
- package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
- package/dist/types/runtime/search/SearchModal.d.ts +0 -11
- package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
- package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
- package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
- package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
- package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
- package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
- package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
- package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
- package/templates/.dmd/components.js +0 -25
package/schemas/docs.schema.json
CHANGED
|
@@ -1,182 +1,187 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://raw.githubusercontent.com/gabrielmsilva00/docmedown/main/schemas/docs.schema.json",
|
|
4
|
-
"title": "DocMeDown documentation configuration",
|
|
5
|
-
"description": "Configuration for a DocMeDown documentation root. A directory containing docs.json is an independent documentation site.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": { "type": "string", "format": "uri" },
|
|
10
|
-
"name": { "type": "string", "minLength": 1 },
|
|
11
|
-
"tagline": { "type": "string" },
|
|
12
|
-
"description": { "type": "string" },
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
"enum": ["
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/gabrielmsilva00/docmedown/main/schemas/docs.schema.json",
|
|
4
|
+
"title": "DocMeDown documentation configuration",
|
|
5
|
+
"description": "Configuration for a DocMeDown documentation root. A directory containing docs.json is an independent documentation site.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"$schema": { "type": "string", "format": "uri" },
|
|
10
|
+
"name": { "type": "string", "minLength": 1 },
|
|
11
|
+
"tagline": { "type": "string" },
|
|
12
|
+
"description": { "type": "string" },
|
|
13
|
+
"url": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "uri",
|
|
16
|
+
"description": "Canonical site origin (e.g. https://docs.example.com). Enables sitemap.xml, robots.txt, canonical links, and absolute Open Graph URLs."
|
|
17
|
+
},
|
|
18
|
+
"version": { "type": "string" },
|
|
19
|
+
"rootDoc": { "type": "string", "minLength": 1 },
|
|
20
|
+
"home": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"description": "Documentation home document (path or slug) or an explicit link. Defaults to README.md, PROJECT.md, ABOUT.md, or INDEX.md at the documentation root (case-sensitive pass first, then case-insensitive), then the alphabetically first Markdown document."
|
|
24
|
+
},
|
|
25
|
+
"source": { "$ref": "#/$defs/source" },
|
|
26
|
+
"theme": { "$ref": "#/$defs/theme" },
|
|
27
|
+
"nav": { "type": "array", "items": { "$ref": "#/$defs/navLink" } },
|
|
28
|
+
"socials": { "type": "array", "items": { "$ref": "#/$defs/socialLink" } },
|
|
29
|
+
"sidebar": { "type": "array", "items": { "$ref": "#/$defs/sidebarItem" } },
|
|
30
|
+
"autoIndex": { "$ref": "#/$defs/autoIndex" },
|
|
31
|
+
"search": { "$ref": "#/$defs/search" },
|
|
32
|
+
"offline": { "$ref": "#/$defs/offline" },
|
|
33
|
+
"footer": { "$ref": "#/$defs/footer" },
|
|
34
|
+
"componentsUrl": { "type": "string" },
|
|
35
|
+
"editUrl": { "type": "string" }
|
|
36
|
+
},
|
|
37
|
+
"$defs": {
|
|
38
|
+
"navLink": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["label", "href"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"label": { "type": "string", "minLength": 1 },
|
|
44
|
+
"href": { "type": "string", "minLength": 1 },
|
|
45
|
+
"external": { "type": "boolean" },
|
|
46
|
+
"icon": { "type": "string" }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"socialLink": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"required": ["type", "url"],
|
|
53
|
+
"properties": {
|
|
54
|
+
"type": { "enum": ["github", "gitlab", "twitter", "x", "discord", "custom"] },
|
|
55
|
+
"url": { "type": "string", "format": "uri" },
|
|
56
|
+
"label": { "type": "string" },
|
|
57
|
+
"icon": { "type": "string" }
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"source": {
|
|
61
|
+
"oneOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"required": ["type", "repo"],
|
|
66
|
+
"properties": {
|
|
67
|
+
"type": { "const": "github" },
|
|
68
|
+
"repo": { "type": "string", "pattern": "^[^/\\s]+/[^/\\s]+$" },
|
|
69
|
+
"branch": { "type": "string", "minLength": 1 },
|
|
70
|
+
"docsDir": { "type": "string" },
|
|
71
|
+
"token": { "type": "string" },
|
|
72
|
+
"baseUrl": { "type": "string", "format": "uri" }
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": ["type", "repo"],
|
|
79
|
+
"properties": {
|
|
80
|
+
"type": { "const": "gitlab" },
|
|
81
|
+
"repo": { "type": "string", "pattern": "^[^/\\s]+/[^/\\s]+$" },
|
|
82
|
+
"branch": { "type": "string", "minLength": 1 },
|
|
83
|
+
"docsDir": { "type": "string" },
|
|
84
|
+
"token": { "type": "string" },
|
|
85
|
+
"baseUrl": { "type": "string", "format": "uri" }
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"required": ["type", "baseUrl"],
|
|
92
|
+
"properties": {
|
|
93
|
+
"type": { "const": "raw" },
|
|
94
|
+
"baseUrl": { "type": "string", "format": "uri" },
|
|
95
|
+
"branch": { "type": "string", "minLength": 1 },
|
|
96
|
+
"docsDir": { "type": "string" },
|
|
97
|
+
"token": { "type": "string" }
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"theme": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"properties": {
|
|
106
|
+
"family": {
|
|
107
|
+
"enum": ["atlas", "blueprint", "terminal", "editorial"],
|
|
108
|
+
"description": "Complete visual system controlling canvas, geometry, typography rhythm and motion."
|
|
109
|
+
},
|
|
110
|
+
"density": { "enum": ["comfortable", "compact"], "description": "Reading density across shell panels." },
|
|
111
|
+
"preset": {
|
|
112
|
+
"enum": ["indigo", "emerald", "sunset", "violet", "rose", "slate", "cyberpunk"],
|
|
113
|
+
"deprecated": true,
|
|
114
|
+
"description": "Legacy accent preset. Mapped automatically onto theme.family; use family instead."
|
|
115
|
+
},
|
|
116
|
+
"defaultMode": { "enum": ["light", "dark", "auto"] },
|
|
117
|
+
"accentColor": { "type": "string" },
|
|
118
|
+
"accentColorDark": { "type": "string" },
|
|
119
|
+
"fontFamily": { "type": "string" },
|
|
120
|
+
"codeTheme": { "enum": ["github", "dracula", "one-dark", "synthwave"] },
|
|
121
|
+
"favicon": { "type": "string" },
|
|
122
|
+
"logo": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"properties": {
|
|
126
|
+
"light": { "type": "string" },
|
|
127
|
+
"dark": { "type": "string" },
|
|
128
|
+
"alt": { "type": "string" },
|
|
129
|
+
"text": { "type": "string" }
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"autoIndex": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"properties": {
|
|
138
|
+
"enabled": { "type": "boolean" },
|
|
139
|
+
"exclude": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
140
|
+
"sort": { "enum": ["alphabetical", "frontmatter", "natural"] },
|
|
141
|
+
"defaultCollapsed": { "type": "boolean" }
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"search": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"properties": {
|
|
148
|
+
"enabled": { "type": "boolean" },
|
|
149
|
+
"placeholder": { "type": "string" },
|
|
150
|
+
"maxResults": { "type": "integer", "minimum": 1, "maximum": 100 }
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"offline": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"properties": {
|
|
157
|
+
"embedNestedDocs": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"description": "Embed nested documentation sites into the single-file offline bundle so no external files are needed. Defaults to true; when false, links to other documentation files render as disabled links offline."
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"footer": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"properties": {
|
|
167
|
+
"copyright": { "type": "string" },
|
|
168
|
+
"links": { "type": "array", "items": { "$ref": "#/$defs/navLink" } },
|
|
169
|
+
"showBuiltWith": { "type": "boolean" }
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"sidebarItem": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"additionalProperties": false,
|
|
175
|
+
"properties": {
|
|
176
|
+
"title": { "type": "string" },
|
|
177
|
+
"path": { "type": "string" },
|
|
178
|
+
"slug": { "type": "string" },
|
|
179
|
+
"icon": { "type": "string" },
|
|
180
|
+
"badge": { "type": "string" },
|
|
181
|
+
"badgeType": { "enum": ["info", "success", "warning", "new"] },
|
|
182
|
+
"collapsed": { "type": "boolean" },
|
|
183
|
+
"children": { "type": "array", "items": { "$ref": "#/$defs/sidebarItem" } }
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
182
187
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<svelte:options customElement={{ tag: "dmd-counter-widget" }} />
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
let { title = "Interactive Counter" }: { title?: string } = $props();
|
|
4
|
+
let count = $state(0);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<div class="dmd-counter-panel">
|
|
8
|
+
<button type="button" class="dmd-counter-btn" onclick={() => count++}>
|
|
9
|
+
{title}: {count}
|
|
10
|
+
</button>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<style>
|
|
14
|
+
:host {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
.dmd-counter-panel {
|
|
18
|
+
margin: 1rem 0;
|
|
19
|
+
}
|
|
20
|
+
.dmd-counter-btn {
|
|
21
|
+
padding: 0.55rem 0.85rem;
|
|
22
|
+
border: 1px solid var(--dmd-accent);
|
|
23
|
+
border-radius: 6px;
|
|
24
|
+
background: var(--dmd-accent-subtle);
|
|
25
|
+
color: var(--dmd-text-primary);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
font-weight: 700;
|
|
28
|
+
}
|
|
29
|
+
</style>
|
package/templates/README.md
CHANGED
|
@@ -20,7 +20,7 @@ tags: [getting-started, overview, docs]
|
|
|
20
20
|
- **🚀 Zero Build Friction**: Host statically, build a self-contained `.dist/index.html` for `file:///`, or document remote GitHub/GitLab repositories dynamically.
|
|
21
21
|
- **🎨 Complete Theme Families**: Atlas, Blueprint, Terminal, and Editorial each provide distinct surfaces, geometry, typography, spacing, and diagram palettes across light and dark modes.
|
|
22
22
|
- **⚡ Fast Search**: In-browser fuzzy search with `⌘K` command palette.
|
|
23
|
-
-
|
|
23
|
+
- **🧩 Custom Components**: Support for custom `.dmd/` widgets written in native Svelte 5, React TSX, or Web Elements, plus ready-to-use builtins.
|
|
24
24
|
- **📊 Diagrams & Math**: A theme-aware Mermaid viewer with Fit, zoom, SVG export, and offline parity, plus KaTeX formulas.
|
|
25
25
|
|
|
26
26
|
---
|
|
@@ -30,7 +30,7 @@ tags: [getting-started, overview, docs]
|
|
|
30
30
|
```mermaid
|
|
31
31
|
graph LR
|
|
32
32
|
A[Markdown Files] --> B[DocMeDown Parser]
|
|
33
|
-
B --> C[
|
|
33
|
+
B --> C[Svelte 5 Engine]
|
|
34
34
|
C --> D[Live Documentation Site]
|
|
35
35
|
E[docs.json] --> C
|
|
36
36
|
F[.dmd Components] --> C
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-bg" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#4f46e5"/>
|
|
5
|
+
<stop offset="100%" stop-color="#7c3aed"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-bg)"/>
|
|
9
|
+
<path d="M9 5h8.5l6.5 6.5V25a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Z" fill="#ffffff" fill-opacity="0.16" stroke="#ffffff" stroke-width="1.8" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M17.5 5v5a1.5 1.5 0 0 0 1.5 1.5h5" stroke="#ffffff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
|
+
<path d="M16 12.5v9.5m-3.5-3.5 3.5 3.5 3.5-3.5" stroke="#ffffff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-book" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#2563eb"/>
|
|
5
|
+
<stop offset="100%" stop-color="#1d4ed8"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-book)"/>
|
|
9
|
+
<path d="M16 11.5c-2.8-1.8-6.5-1.8-9.5 0v11c3-1.4 6.7-1.4 9.5 0m0-11c2.8-1.8 6.5-1.8 9.5 0v11c-3-1.4-6.7-1.4-9.5 0M16 11.5v11" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M16 7.5v2.5" stroke="#93c5fd" stroke-width="2" stroke-linecap="round"/>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-md" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#1e293b"/>
|
|
5
|
+
<stop offset="100%" stop-color="#0f172a"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-md)" stroke="#38bdf8" stroke-width="1.2" stroke-opacity="0.35"/>
|
|
9
|
+
<path d="M6.5 21V11h3l3 4.5 3-4.5h3v10" fill="none" stroke="#f8fafc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M22.5 11v10m-3-3 3 3 3-3" fill="none" stroke="#38bdf8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-min-bg" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#18181b"/>
|
|
5
|
+
<stop offset="100%" stop-color="#09090b"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="dmd-fav-min-accent" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
8
|
+
<stop offset="0%" stop-color="#38bdf8"/>
|
|
9
|
+
<stop offset="100%" stop-color="#818cf8"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-min-bg)" stroke="#27272a" stroke-width="1.2"/>
|
|
13
|
+
<polygon points="16,6 25,11.2 25,20.8 16,26 7,20.8 7,11.2" fill="none" stroke="url(#dmd-fav-min-accent)" stroke-width="2" stroke-linejoin="round"/>
|
|
14
|
+
<circle cx="16" cy="16" r="3.5" fill="url(#dmd-fav-min-accent)"/>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-term" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#0f172a"/>
|
|
5
|
+
<stop offset="100%" stop-color="#020617"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-term)" stroke="#10b981" stroke-width="1.2" stroke-opacity="0.4"/>
|
|
9
|
+
<circle cx="8" cy="8" r="1.5" fill="#ef4444" opacity="0.85"/>
|
|
10
|
+
<circle cx="12.5" cy="8" r="1.5" fill="#f59e0b" opacity="0.85"/>
|
|
11
|
+
<circle cx="17" cy="8" r="1.5" fill="#10b981" opacity="0.85"/>
|
|
12
|
+
<path d="M8.5 15.5l5 4-5 4" fill="none" stroke="#10b981" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<line x1="16.5" y1="23.5" x2="23.5" y2="23.5" stroke="#38bdf8" stroke-width="2.2" stroke-linecap="round"/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dmd-fav-bg" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#4f46e5"/>
|
|
5
|
+
<stop offset="100%" stop-color="#7c3aed"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="7" fill="url(#dmd-fav-bg)"/>
|
|
9
|
+
<path d="M9 5h8.5l6.5 6.5V25a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Z" fill="#ffffff" fill-opacity="0.16" stroke="#ffffff" stroke-width="1.8" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M17.5 5v5a1.5 1.5 0 0 0 1.5 1.5h5" stroke="#ffffff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
|
+
<path d="M16 12.5v9.5m-3.5-3.5 3.5 3.5 3.5-3.5" stroke="#ffffff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
</svg>
|