{"_id":"@portaljs/remark-wiki-link","_rev":"8-56cdad6fc0fdef79813090bb97f14efb","name":"@portaljs/remark-wiki-link","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@portaljs/remark-wiki-link","version":"1.0.0","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"af134cac8bb971c9305b38c37fa6ef48ee818885","_id":"@portaljs/remark-wiki-link@1.0.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-rLuDV7kUQqKatir08tH7bEaaob+/4Ey7wqYQe+5tBlYXUXvZMPWqW9DoEm9XzKMwlhKBoCQ5e4i6gMeKP3HURA==","shasum":"faf8d42de1b9395cf50f7ac7a361943c3f22e640","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.0.0.tgz","fileCount":9,"unpackedSize":8785,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrvWg7n63KwgHNgtdzIzt/uwr9CafK7DBZ4/+XjhcUBwIhAL0uVOAWVn+vFMG0uQKBRvotmo9rotkbE3X0ObDFlBUj"}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.0.0_1686133342642_0.9477647103311375"},"_hasShrinkwrap":false},"1.0.1":{"name":"@portaljs/remark-wiki-link","version":"1.0.1","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"39c862627d1950c46aa0126e83dfdfa74103887e","_id":"@portaljs/remark-wiki-link@1.0.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-W0h1Cg7+/nQRpvP+q7F9UwyFUnZF2kzCEPwFP3fGUQyMCHscq6GYqne+x6Axd8hbOVomH6AjR8u3/VfzgR8Pow==","shasum":"ab3523a925f979a8263dea798f0a1578ccc08c71","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.0.1.tgz","fileCount":2,"unpackedSize":6173,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH2GR0uDwm4GrXnWhdrzrAEbP29+cGCg1NosKvh9UaRkCIB00oyK0K7HKxmnZHnjCfst3Dipj5Zzz3xnJ4mDHhWGS"}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.0.1_1686144213397_0.7753971142642406"},"_hasShrinkwrap":false},"1.0.2":{"name":"@portaljs/remark-wiki-link","version":"1.0.2","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepublish":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"c3246ee7f8e20eabf84765c4f435b0ab587231fc","_id":"@portaljs/remark-wiki-link@1.0.2","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-obGkgjBApaL3FS6v7QyzfIF5xnpnWX1r1Io4cK/KWhpRQQcODKJaGIMqrCU0S4QJY2OoBuaHOku0VmSeVT/suQ==","shasum":"5a4769310ff51115908e301d30fdab2159efbecd","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.0.2.tgz","fileCount":2,"unpackedSize":6239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo8JhAfEOpO3anZMUncOxdjZXeQz7P/giWYgTfwW6IbwIgTvHznQeeBgrX/BFp6zRGh2D71el0D9WMiopBytgtskQ="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.0.2_1686260821569_0.9659253059880475"},"_hasShrinkwrap":false},"1.0.3":{"name":"@portaljs/remark-wiki-link","version":"1.0.3","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"f54d23879584b2e21abe66c171939cb49c538af9","_id":"@portaljs/remark-wiki-link@1.0.3","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Gxa1aoR3vax9bPAZleNK22R8y5BO4GMfbXXPs+9fdmR7CmdoDqVIdVcT+xUIkitYGx72GCytdYfKStLDBo5UTA==","shasum":"229aaaeb129fe5914bd66bdd80c43b9c88c0222d","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.0.3.tgz","fileCount":14,"unpackedSize":44457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2L6SErbNPh4xTS7NA1QJ+YpiN6eERXiRbdAf9d8WePAiEAzy6AtLzRSQpbNMzUod+3smVNhqvsT/8RGi+lh7fQ5m0="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.0.3_1686261686212_0.04278246736101199"},"_hasShrinkwrap":false},"1.0.4":{"name":"@portaljs/remark-wiki-link","version":"1.0.4","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"6649f784595b28b6ea4e29dd8fd640ffa1edb647","_id":"@portaljs/remark-wiki-link@1.0.4","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-cp6vlssDAPawcBI0vUPRpcPdORql3RbK1Q+t1LuRvMQ+yiRb+9DnSPBUviDXKqwsBMOOXP/ePAdYohaeXGt0lQ==","shasum":"8288d588b450f4eb382616515d2c15863e920dab","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.0.4.tgz","fileCount":13,"unpackedSize":44431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDC/7yFDWIplzgWExM74Brz8HVM9cyfkdfiGUtrHYGDAiA6wULCgunHEj6T6BO8luSAL0Vj1E+9zcxQu9xcsXFa7Q=="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.0.4_1686651439696_0.8423792409157751"},"_hasShrinkwrap":false},"1.1.0":{"name":"@portaljs/remark-wiki-link","version":"1.1.0","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"17ad9558e18b064670c396f90749d1ed764f2790","_id":"@portaljs/remark-wiki-link@1.1.0","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ICLOpIMGjNbY+Ow3TuLhgp0Dhtbe+z0SXjGEyTnLS1kxVWunjIB3Jv853bew+HSOMPP1ejqzGGNzuZl8AxuchA==","shasum":"fd5d3813c32f667a257a5540841129ac09705afc","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.1.0.tgz","fileCount":13,"unpackedSize":45307,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8V5RNlKyNpcss4If//WS53c21H63o4pCSDmBKBcv6NwIgKI5iWSA8Jpnm33MAAZ37Hx6uYpCLcVwlfxKfK2ngbmQ="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.1.0_1692022294572_0.8180562652575256"},"_hasShrinkwrap":false},"1.1.1":{"name":"@portaljs/remark-wiki-link","version":"1.1.1","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"6b3afa878bad70495fe9beca36289de331d10450","_id":"@portaljs/remark-wiki-link@1.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-kqSGVHPlnh7BsGyMJraYdiAddTGmp8zzCnyBj5YiLydxEhPcr0UGPPLduafW8yEA9ek8gCIDJ+DE7/He6lKaSg==","shasum":"f824039bdcc992daaf796f3d5a511045e5695ec8","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.1.1.tgz","fileCount":13,"unpackedSize":61707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLY5fyebq8muKpIsFFiSXdwlgdQ7aAVyNYlJoitS4NJwIhAJF8diwGaaDvWwXp1f+8OLagHWjCZi3FaQh/HVpvrMdo"}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.1.1_1696981933506_0.34443688633987635"},"_hasShrinkwrap":false},"1.1.2":{"name":"@portaljs/remark-wiki-link","version":"1.1.2","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"73c7eaf145a3aba30f3c58319619eedfe85447a2","_id":"@portaljs/remark-wiki-link@1.1.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-r/smysr9pI/b7RUaTZ+b7iJpxI6XPJNekNB7LN4CLkd9DSFs4jIVUunfhyUhiL91911cB67scNTb1XnEesYlTA==","shasum":"7217aa6d86ddfa496bf57d735ab4cea2d997dbc8","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.1.2.tgz","fileCount":13,"unpackedSize":45923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgTIcZcGMVfS9jLy4U/4gCkD/ij47qwboxDUr3JlmmvgIgIJe6TN8JtVUaQLPpaPGa+gVLLlb4b1tqLlJ7BZ38sk8="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.1.2_1698966116137_0.8944017948242788"},"_hasShrinkwrap":false},"1.2.0":{"name":"@portaljs/remark-wiki-link","version":"1.2.0","description":"Parse and render wiki-style links in markdown especially Obsidian style links.","repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"author":{"name":"Rufus Pollock"},"license":"MIT","bugs":{"url":"https://github.com/datopian/portaljs/issues"},"homepage":"https://github.com/datopian/portaljs#readme","publishConfig":{"access":"public"},"scripts":{"prepare":"nx build remark-wiki-link"},"dependencies":{"mdast-util-to-markdown":"^1.5.0","mdast-util-wiki-link":"^0.0.2","micromark-util-symbol":"^1.0.1"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"devDependencies":{"micromark":"^3.1.0","remark-gfm":"^3.0.1"},"gitHead":"de2c1e5b48f92cdc6c97bbf9b4aeb1813c9d05a6","_id":"@portaljs/remark-wiki-link@1.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-eRE5nSaZzvELiWMc/tVhaTT7oGlMk2gBM7oiKs/XLMRzenhMt0PPSUEhI5ZB+xrg1T0wFfBsjIYlKP2xYbFoaQ==","shasum":"32db65003fa083d7378f692a496d7d321f14a21a","tarball":"https://registry.npmjs.org/@portaljs/remark-wiki-link/-/remark-wiki-link-1.2.0.tgz","fileCount":13,"unpackedSize":47655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAITT/ubK5PDB4WR1SxJRAocJSa8Nz/a2IgeYHHO1ObcAiEAmDr8l7nBIUnWP23WyHmZvfCB0spn7J/ihTZ6jAqIaXI="}]},"_npmUser":{"name":"olayway","email":"ola@yway.pl"},"directories":{},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-wiki-link_1.2.0_1713362256525_0.14513686975345474"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-07T10:22:22.584Z","1.0.0":"2023-06-07T10:22:22.825Z","modified":"2024-04-17T13:57:37.038Z","1.0.1":"2023-06-07T13:23:33.550Z","1.0.2":"2023-06-08T21:47:01.684Z","1.0.3":"2023-06-08T22:01:26.402Z","1.0.4":"2023-06-13T10:17:19.909Z","1.1.0":"2023-08-14T14:11:34.880Z","1.1.1":"2023-10-10T23:52:13.763Z","1.1.2":"2023-11-02T23:01:56.388Z","1.2.0":"2024-04-17T13:57:36.735Z"},"maintainers":[{"name":"olayway","email":"ola@yway.pl"},{"name":"luccasmmg","email":"luccasmmg@gmail.com"},{"name":"demenech","email":"joaommdemenech@gmail.com"},{"name":"rufuspollock","email":"rufus@lifeitself.us"}],"description":"Parse and render wiki-style links in markdown especially Obsidian style links.","homepage":"https://github.com/datopian/portaljs#readme","keywords":["remark","remark-plugin","markdown","gfm","obsidian"],"repository":{"type":"git","url":"git+https://github.com/datopian/portaljs.git","directory":"packages/remark-wiki-link"},"author":{"name":"Rufus Pollock"},"bugs":{"url":"https://github.com/datopian/portaljs/issues"},"license":"MIT","readme":"# remark-wiki-link\n\nParse and render wiki-style links in markdown especially Obsidian style links.\n\n## What is this ?\n\nUsing obsidian, when we type in wiki link syntax for eg. `[[wiki_link]]` it would parse them as anchors.\n\n## Features supported\n\n- [x] Support `[[Internal link]]`\n- [x] Support `[[Internal link|With custom text]]`\n- [x] Support `[[Internal link#heading]]`\n- [x] Support `[[Internal link#heading|With custom text]]`\n- [x] Support `![[Document.pdf]]`\n- [x] Support `![[Image.png]]`\n\n* Supported image formats are jpg, jpeg, png, apng, webp, gif, svg, bmp, ico\n* Unsupported image formats will display a raw wiki link string, e.g. `[[Image.xyz]]`.\n\nFuture support:\n\n- [ ] Support `![[Audio.mp3]]`\n- [ ] Support `![[Video.mp4]]`\n- [ ] Support `![[Embed note]]`\n- [ ] Support `![[Embed note#heading]]`\n\n## Installation\n\n```bash\nnpm install @portaljs/remark-wiki-link\n```\n\n## Usage\n\n```javascript\nimport unified from \"unified\";\nimport markdown from \"remark-parse\";\nimport wikiLinkPlugin from \"@portaljs/remark-wiki-link\";\n\nconst processor = unified().use(markdown).use(wikiLinkPlugin);\n```\n\n## Configuration options\n\n### `pathFormat`\n\nType: `\"raw\" | \"obisidan-absolute\" | \"obsidian-short\"`\nDefault: `\"raw\"`\n\n- `\"raw\"`: use this option for regular relative or absolute paths (or Obsidian relative paths), e.g. `[[../some/folder/file]]` or `[[[/some/folder/file]]]`,\n- `\"obsidian-absolute\"`: use this option for Obsidian absolute paths, i.e. paths with no leading `/`, e.g. `[[some/folder/file]]`\n- `\"obsidian-short\"`: use this option for Obsidian shortened paths, e.g. `[[file]]` to resolve them to absolute paths. Note that apart from setting this value, you will also need to pass a list of paths to files in your content folder, and pass it as `permalinks` option. You can generate this list yourself or use our util function `getPermalinks`. See below for more info.\n\n> [!note]\n> Wiki link format in Obsidian can be configured in Settings -> Files & Links -> New link format.\n\n### `aliasDivider`\n\nType: single character string\nDefault: `\"|\"`\n\nAlias divider character used in your wiki links. E.g. `[[/some/folder/file|Alias]]`\n\n### `permalinks`\n\nType: `Array<string>`\nDefault: `[]`\n\nA list of permalinks you want to match your wiki link paths with. Wiki links with matched permalinks will have `node.data.exists` property set to `true`. Wiki links with no matching permalinks will also have additional class `new` set.\n\n### `wikiLinkResolver`\n\nType: `(name: string) => Array<string>`\nDefault: `(name: string) => name.replace(/\\/index$/, \"\")` (simplified; see source code for full version)\n\nA function that will take the wiki link target page (e.g. `\"/some/folder/file\"` in `[[/some/folder/file#Some Heading|Some Alias]]` wiki link) and return an array of pages to which the wiki link **can** be resolved (one of them will be used, depending on wheather `pemalinks` are passed, and if match is found).\n\nIf `permalinks` are passed, the resulting array will be matched against these permalinks to find the match. The matching pemalink will be used as node's `href` (or `src` for images).\n\nIf no matching permalink is found, the first item from the array returned by this function will be used as a node's `href` (or `src` for images). So, if you want to write a custom wiki link -> url\n\n### `newClassName`\n\nType: `string`\nDefault: `\"new\"`\n\nClass name added to nodes created for wiki links for which no matching permalink (passed in `permalinks` option) was found.\n\n### `wikiLinkClassName`\n\nType: `string`\nDefault: `\"internal\"`\n\nClass name added to all wiki link nodes.\n\n### `hrefTemplate`\n\nType: `(permalink: string) => string`\nDefault: `(permalink: string) => permalink`\n\nA function that will be used to convert a matched permalink of the wiki link to `href` (or `src` for images).\n\n### `markdownFolder` ❌ (deprecated as of version 1.1.0)\n\nA string that points to the content folder, that will be used to resolve Obsidian shortened wiki link path format.\n\nInstead of using this option, use e.g. `getPermalinks` util function exported from this package to generate a list of permalinks from your content folder, and pass it explicitly as `permalinks` option.\n\n## Generating list of permalinks from content folder with `getPermalinks`\n\nIf you're using shortened path format for your Obsidian wiki links, in order to resolve them correctly to paths they point to, you need to set `option.pathFormat: \"obsidian-short\"` but also provide the plugin with a list of permalinks that point to files in your content folder as `option.permalinks`. You can use your own script to generate this list or use our util function `getPermalinks` like so:\n\n```javascript {4,6,11-12}\nimport unified from \"unified\";\nimport markdown from \"remark-parse\";\nimport wikiLinkPlugin from \"@portaljs/remark-wiki-link\";\nimport { getPermalinks } from \"@portaljs/remark-wiki-link\";\n\nconst permalinks = await getPermalinks(\"path-to-your-content-folder\");\n\nconst processor = unified().use(markdown).use(wikiLinkPlugin, {\n  pathFormat: \"obsidian-short\",\n  permalinks,\n});\n```\n\n## Running tests\n\n```bash\npnpm nx test remark-wiki-link\n```\n","readmeFilename":"README.md"}