{"_id":"markdown-it-footnote","_rev":"15-a443c1b00dddd5581270e003679812a5","name":"markdown-it-footnote","description":"Footnotes for markdown-it markdown parser.","dist-tags":{"latest":"4.0.0"},"versions":{"0.1.0":{"name":"markdown-it-footnote","version":"0.1.0","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"homepage":"https://github.com/markdown-it/markdown-it-footnote","repository":{"type":"git","url":"git://github.com/markdown-it/markdown-it-footnote.git"},"bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"devDependencies":{"browserify":"*","coveralls":"^2.11.2","eslint":"0.10.2","eslint-plugin-nodeca":"^1.0.0","istanbul":"*","lodash":"*","markdown-it":"~3.0.0","markdown-it-testgen":"~0.1.0","mocha":"*","request":"*","uglify-js":"*"},"gitHead":"db3d6ee2792efd7d2bc51fa6e1c4989796675a41","_id":"markdown-it-footnote@0.1.0","_shasum":"903dc7a18fc0d2036706ee94955a5d2fedc58205","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"903dc7a18fc0d2036706ee94955a5d2fedc58205","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-0.1.0.tgz","integrity":"sha512-vGWPm68rgkqM4rYOdWV3FCKeJpSxdkoyZhv8apBgltvPCuYJ8+2FRTNWQ6cjiILGLoWwashjf5KsRJgB8BSjsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBGl4fBSeGg4lRPtS5J6g/+lNtx7GDip1m/AKbUSa4SAiEAmcmVQHIkytHZD2ebCS9YP/naxmpEV4Rrgo+R5bTyfwA="}]},"directories":{}},"1.0.0":{"name":"markdown-it-footnote","version":"1.0.0","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"homepage":"https://github.com/markdown-it/markdown-it-footnote","repository":{"type":"git","url":"git://github.com/markdown-it/markdown-it-footnote.git"},"bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"devDependencies":{"browserify":"*","coveralls":"^2.11.2","eslint":"0.10.2","eslint-plugin-nodeca":"^1.0.0","istanbul":"*","lodash":"*","markdown-it":"^4.0.0","markdown-it-testgen":"~0.1.0","mocha":"*","request":"*","uglify-js":"*"},"gitHead":"680dcddb4f8cc96c86d54295cb7cff9350fef885","_id":"markdown-it-footnote@1.0.0","_shasum":"4d3647904bb6f8b62c6da47459e8e0a3f4636abf","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"4d3647904bb6f8b62c6da47459e8e0a3f4636abf","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-1.0.0.tgz","integrity":"sha512-TONV0rSCliDnhVrEbskN/s43VMhMsT4BHy0Q1oOpRLFhS6544GK5/Jl4aBtzobeKrQMaqQiIMUyZjFl1b1Yr+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXTYcLE/P5X0zwo3eXDn0QVbiamcas4WTqb+QzntGEBAiBK2Obx07KYUCaSvogkTIXH+q09OQUs1Ws5xNDyvmclDw=="}]},"directories":{}},"2.0.0":{"name":"markdown-it-footnote","version":"2.0.0","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"homepage":"https://github.com/markdown-it/markdown-it-footnote","repository":{"type":"git","url":"git://github.com/markdown-it/markdown-it-footnote.git"},"bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"devDependencies":{"browserify":"*","coveralls":"^2.11.2","eslint":"0.10.2","eslint-plugin-nodeca":"^1.0.0","istanbul":"*","lodash":"*","markdown-it":"github:markdown-it/markdown-it","markdown-it-testgen":"~0.1.0","mocha":"*","request":"*","uglify-js":"*"},"gitHead":"8647fddb6cc6c5aa9879dfcac65a3bb5c392115c","_id":"markdown-it-footnote@2.0.0","_shasum":"14e9c4f68ff12cf354fa365ae378276e8104ca94","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"14e9c4f68ff12cf354fa365ae378276e8104ca94","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-2.0.0.tgz","integrity":"sha512-GMWkJXSHh5tiQt77zCLOSZI2Xy3Oqdb82GmT0Q0h2UT6SbUrMCAiHEiMBIt5V7Xfm73rBxS0VOhlLndkn1GPnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICf0TXLAGlf5QivJku6u6QEJVqu6GtUSMHJ02e2v48jKAiEAwB51zG7h/qkYUsSyXZkBNjiXYu9nSF9jUilmF64VXlg="}]},"directories":{}},"3.0.0":{"name":"markdown-it-footnote","version":"3.0.0","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"license":"MIT","scripts":{"test":"make test"},"devDependencies":{"browserify":"*","coveralls":"^2.11.2","eslint":"~2.13.1","istanbul":"*","lodash":"*","markdown-it":"github:markdown-it/markdown-it","markdown-it-testgen":"~0.1.0","mocha":"*","request":"*","uglify-js":"*"},"gitHead":"c5d11135e49aeb455b21efccd004f5480d9d0e15","bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","_id":"markdown-it-footnote@3.0.0","_shasum":"5199d8747d3319077671862708e7bb9b801b0320","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"5199d8747d3319077671862708e7bb9b801b0320","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-3.0.0.tgz","integrity":"sha512-aqCceXmOkgk25MXYj60Sn+04vqIlpc0Jj8KBflPP2M7UXC6zxduD5kbl1yzoxxwGfybbM5O3rB0n9vzKSbxxqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2wunUtsOzULd3Djfe5+cPLyhlj6Oy7+axisIVnF/a2AIgDxYtWIwpno3cJc4ozyBKGICKjxMabyInaE8e4fOBc8Y="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/markdown-it-footnote-3.0.0.tgz_1467070420557_0.5478041882161051"},"directories":{}},"3.0.1":{"name":"markdown-it-footnote","version":"3.0.1","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"license":"MIT","scripts":{"test":"make test"},"devDependencies":{"browserify":"*","coveralls":"^2.11.2","eslint":"~2.13.1","istanbul":"*","lodash":"*","markdown-it":"github:markdown-it/markdown-it","markdown-it-testgen":"~0.1.0","mocha":"*","request":"*","uglify-js":"*"},"gitHead":"4f0f468ac2a64c00c3b709b0d49f57d607c93c2e","bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","_id":"markdown-it-footnote@3.0.1","_shasum":"7f3730747cacc86e2fe0bf8a17a710f34791517a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"7f3730747cacc86e2fe0bf8a17a710f34791517a","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-3.0.1.tgz","integrity":"sha512-DoX+Zcd2uYU0Nu5jzLoAnX+mgjNcIYmL3OuPbfy03FmEX0PJGLit2MZk7YTBB6MY/NHaH5USr5o/lKNMzmHkpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/FKZhiufpGNdS9c2oGiY/Wy6TTT7DUp63XrmmZiZOhAiAUv671hJeIJe3hCIhHDmtTPMr1NcIpcush/AOpf8zixA=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/markdown-it-footnote-3.0.1.tgz_1470403426636_0.5941274804063141"},"directories":{}},"3.0.2":{"name":"markdown-it-footnote","version":"3.0.2","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"license":"MIT","scripts":{"test":"make test"},"devDependencies":{"browserify":"^16.2.3","coveralls":"^3.0.2","eslint":"^5.9.0","istanbul":"^0.4.5","markdown-it":"github:markdown-it/markdown-it","markdown-it-testgen":"~0.1.0","mocha":"^5.2.0","terser":"^3.17.0"},"gitHead":"cab6665ba39c6eb517cbbae3baeb549004bf740c","bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","_id":"markdown-it-footnote@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"dist":{"integrity":"sha512-JVW6fCmZWjvMdDQSbOT3nnOQtd9iAXmw7hTSh26+v42BnvXeVyGMDBm5b/EZocMed2MbCAHiTX632vY0FyGB8A==","shasum":"1575ee7a093648d4e096aa33386b058d92ac8bc1","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-3.0.2.tgz","fileCount":8,"unpackedSize":36483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJAtXCRA9TVsSAnZWagAARXgP/A0rY9xMWwx7JSdbyZ2u\niT1pdFDjrAZ7t71TijYCOjRB+oIcxxJ7lT6XCo9nuVQWb0LdXrDKD1OerNjT\n7ydff7C7bSobF0BEoMFxuOgvdQmChhzims7NwEw2PjfbVe5nTE+dTocY56Qa\nlUs9odBfO6hvnfl2sPEFbtvTCSCCl4T52EkwG3+k979IkncBVkJbGN1THNMu\nKPEHoP3MRcwlJWUjomxkW44yCeK5ouRWkheeSzJWTcyN56NeoQS0eYbC2BAm\nKe4mSlEZLHt3M64dwxKRzYXfPO/H/XWl/wLNTRTjn2dDmEag41BX8+Rrc2kD\n7XV46vJrMDbvMcSp/iSkWGd2VkTqSu77RsKIQsYPBvzew3uw3NcfXc7tr5kL\ngCex9ySCXnrIRpv2etsUB6z9bzaQVkcKhIswszLdS2NDmDdETgVL+kJyQvxM\nofRlZLspJ/bLZ9b0SlOPkg2yrTzQe2JbufNQ8TDEGVquNX1MgtUTnGWiqUS8\nDlBi8eKp9XwQ4zC1xpxudmCKI75EacJgrACX788OGZMvzo3ee0XeT3RKE5SI\nF1jp86gXW2cpoPwkVFys+Bxjs3qrxEda7cQtn4QOmlnqv6CrnL2amedPuss9\nzyJNMo1FwMo4XgK/Lebsin5CbxSXDxnJEPC8NngUfXh+XC5m0+B3o6VtDsx9\nz5No\r\n=2c4E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCagwOU2L5HU1eXtPtKuaA+uRbT0ZjeMiL61V2zGnlXaQIgAWeVSjGmBdgypaXZdVOCZ/AGcXahPD4CDsmmvKCXbYo="}]},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-footnote_3.0.2_1562643286781_0.055791750688368724"},"_hasShrinkwrap":false},"3.0.3":{"name":"markdown-it-footnote","version":"3.0.3","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"license":"MIT","scripts":{"test":"make test"},"devDependencies":{"browserify":"^16.2.3","coveralls":"^3.0.2","eslint":"^5.9.0","istanbul":"^0.4.5","markdown-it":"github:markdown-it/markdown-it","markdown-it-testgen":"~0.1.0","mocha":"^5.2.0","terser":"^3.17.0"},"gitHead":"337dcc79dfe8b2cb98c32000d8b24691de66105b","bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","_id":"markdown-it-footnote@3.0.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-YZMSuCGVZAjzKMn+xqIco9d1cLGxbELHZ9do/TSYVzraooV8ypsppKNmUJ0fVH5ljkCInQAtFpm8Rb3eXSrt5w==","shasum":"e0e4c0d67390a4c5f0c75f73be605c7c190ca4d8","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-3.0.3.tgz","fileCount":8,"unpackedSize":36591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgppk5CRA9TVsSAnZWagAAxPoP/09BKN43i2rjwK9RtL3q\n4p4Y+xwRL6Anut/h605pY/Xf01PHBAgnATI0oAbCKlMkLprRklf3NXulrrO3\numo4PFQ5UdDWjuYTpPj56Wv5jReWIa3ueF5gEQCH0gO1s0knUjSUJFbNSZ2C\n1ULG8NFuonY+PbwGDc4BAOTGIeBqOKAD1sJP6051ZNACfmX1QYx9BIyDViYN\nwVEPPdF4AhXMyxxfzmKj34dBv5WES9/8oMgTSZLQEqWemGhtT9xjdpLHOhha\n3CRzIxN7za4JSTrtmuhcOgUwXMvgl3zOqBiOvfhCo3/AWeiVPCWzNLZIe0w4\neKq2/p2eQwfqzZ47SXSAUIV/1gepiugKahLcsln1/LcUwDkRnSuMfPx4Pg1B\nJaQWaWsMw7+1QiFfVU64vvTNdjuyFfHJPF3Eah7DAyR5ZVj2FiQyw4ZhB15n\nYg56Mr6RduZd02hSZnveyX/2RgK9zhmzmVgmRs2MX0MFyWJsy/9k6Qr1/8Z/\nmKUkJXTS2J/qE1MTj3yC7rwCX81CyG8GYmLlq2OYAApb1Th2wHznrTZLVaYb\nfvwXHZk62qaPPCcIwlIOgCPrbuVwunZU2/pf5rN60gezNfWskThr47GJUdPZ\nGtby14F0ToawfLEWdoqqlOIBsiKyMIohWhqlyn7CRuqLLkla9Ikg9Y5IR0An\nJEFC\r\n=O8Ub\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8qSvd0f9GU5NHiY4vdpt2illuQsaMHj4tCgdveg5VsAiAU57JOHk26A32SjhBFk0tctO9X+akpPtINWzoTw3GzQA=="}]},"_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"directories":{},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-footnote_3.0.3_1621530937490_0.3873218033962562"},"_hasShrinkwrap":false},"4.0.0":{"name":"markdown-it-footnote","version":"4.0.0","description":"Footnotes for markdown-it markdown parser.","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"license":"MIT","main":"dist/index.cjs.js","module":"index.mjs","exports":{".":{"require":"./dist/index.cjs.js","import":"./index.mjs"},"./*":{"require":"./*","import":"./*"}},"scripts":{"lint":"eslint .","build":"rollup -c","test":"npm run lint && npm run build && c8 --exclude dist --exclude test -r text -r html -r lcov mocha","prepublishOnly":"npm run lint && npm run build"},"devDependencies":{"@rollup/plugin-babel":"^6.0.4","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","c8":"^8.0.1","eslint":"^8.55.0","eslint-config-standard":"^17.1.0","markdown-it":"^13.0.2","markdown-it-testgen":"^0.1.6","mocha":"^10.2.0","rollup":"^4.6.1"},"gitHead":"fe6c169c72b9f4d6656b10aa449128456f5a990e","bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","_id":"markdown-it-footnote@4.0.0","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-WYJ7urf+khJYl3DqofQpYfEYkZKbmXmwxQV8c8mO/hGIhgZ1wOe7R4HLFNwqx7TjILbnC98fuyeSsin19JdFcQ==","shasum":"02ede0cb68a42d7e7774c3abdc72d77aaa24c531","tarball":"https://registry.npmjs.org/markdown-it-footnote/-/markdown-it-footnote-4.0.0.tgz","fileCount":7,"unpackedSize":46798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjz/MEcdsmX8d13EjTQuEHayC11kXMFF0sd2MQdlK9CAIgQzTleQ4hxXD7bHfLtwP3r+4WCFckoaavzRBnNZe7rn4="}]},"_npmUser":{"name":"vitaly","email":"vitaly@rcopen.com"},"directories":{},"maintainers":[{"name":"vitaly","email":"vitaly@rcopen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-footnote_4.0.0_1701862597133_0.42289286229488954"},"_hasShrinkwrap":false}},"readme":"# markdown-it-footnote\n\n[![CI](https://github.com/markdown-it/markdown-it-footnote/actions/workflows/ci.yml/badge.svg)](https://github.com/markdown-it/markdown-it-footnote/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/markdown-it-footnote.svg?style=flat)](https://www.npmjs.org/package/markdown-it-footnote)\n[![Coverage Status](https://img.shields.io/coveralls/markdown-it/markdown-it-footnote/master.svg?style=flat)](https://coveralls.io/r/markdown-it/markdown-it-footnote?branch=master)\n\n> Footnotes plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.\n\n__v2.+ requires `markdown-it` v5.+, see changelog.__\n\nMarkup is based on [pandoc](http://johnmacfarlane.net/pandoc/README.html#footnotes) definition.\n\n__Normal footnote__:\n\n```\nHere is a footnote reference,[^1] and another.[^longnote]\n\n[^1]: Here is the footnote.\n\n[^longnote]: Here's one with multiple blocks.\n\n    Subsequent paragraphs are indented to show that they\nbelong to the previous footnote.\n```\n\nhtml:\n\n```html\n<p>Here is a footnote reference,<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup> and another.<sup class=\"footnote-ref\"><a href=\"#fn2\" id=\"fnref2\">[2]</a></sup></p>\n<p>This paragraph won’t be part of the note, because it\nisn’t indented.</p>\n<hr class=\"footnotes-sep\">\n<section class=\"footnotes\">\n<ol class=\"footnotes-list\">\n<li id=\"fn1\"  class=\"footnote-item\"><p>Here is the footnote. <a href=\"#fnref1\" class=\"footnote-backref\">↩</a></p>\n</li>\n<li id=\"fn2\"  class=\"footnote-item\"><p>Here’s one with multiple blocks.</p>\n<p>Subsequent paragraphs are indented to show that they\nbelong to the previous footnote. <a href=\"#fnref2\" class=\"footnote-backref\">↩</a></p>\n</li>\n</ol>\n</section>\n```\n\n__Inline footnote__:\n\n```\nHere is an inline note.^[Inlines notes are easier to write, since\nyou don't have to pick an identifier and move down to type the\nnote.]\n```\n\nhtml:\n\n```html\n<p>Here is an inline note.<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup></p>\n<hr class=\"footnotes-sep\">\n<section class=\"footnotes\">\n<ol class=\"footnotes-list\">\n<li id=\"fn1\"  class=\"footnote-item\"><p>Inlines notes are easier to write, since\nyou don’t have to pick an identifier and move down to type the\nnote. <a href=\"#fnref1\" class=\"footnote-backref\">↩</a></p>\n</li>\n</ol>\n</section>\n```\n\n\n## Install\n\nnode.js, browser:\n\n```bash\nnpm install markdown-it-footnote --save\nbower install markdown-it-footnote --save\n```\n\n## Use\n\n```js\nvar md = require('markdown-it')()\n            .use(require('markdown-it-footnote'));\n\nmd.render(/*...*/) // See examples above\n```\n\n_Differences in browser._ If you load script directly into the page, without\npackage system, module will add itself globally as `window.markdownitFootnote`.\n\n\n### Customize\n\nIf you want to customize the output, you'll need to replace the template\nfunctions. To see which templates exist and their default implementations,\nlook in [`index.js`](index.js). The API of these template functions is out of\nscope for this plugin's documentation; you can read more about it [in the\nmarkdown-it\ndocumentation](https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md#renderer).\n\nTo demonstrate with an example, here is how you might replace the `<hr>` that\nthis plugin emits by default with an `<h4>` emitted by your own template\nfunction override:\n\n```js\nconst md = require('markdown-it')().use(require('markdown-it-footnote'));\n\nmd.renderer.rules.footnote_block_open = () => (\n  '<h4 class=\"mt-3\">Footnotes</h4>\\n' +\n  '<section class=\"footnotes\">\\n' +\n  '<ol class=\"footnotes-list\">\\n'\n);\n```\n\nHere's another example that customizes footnotes for epub books:\n\n```js\nconst backrefLabel = 'back to text';\n\nconst epubRules = {\n  footnote_ref: ['<a', '<a epub:type=\"noteref\"'],\n  footnote_open: ['<li', '<li epub:type=\"footnote\"'],\n  footnote_anchor: ['<a', `<a aria-label=\"${backrefLabel}\"`],\n}\n\nObject.keys(epubRules).map(rule => {\n  let defaultRender = md.renderer.rules[rule];\n  md.renderer.rules[rule] = (tokens, idx, options, env, self) => {\n    return defaultRender(tokens, idx, options, env, self).replace(...epubRules[rule]);\n  }\n})\n```\n\n## License\n\n[MIT](https://github.com/markdown-it/markdown-it-footnote/blob/master/LICENSE)\n","maintainers":[{"name":"vitaly","email":"vitaly@rcopen.com"}],"time":{"modified":"2023-12-06T11:36:37.538Z","created":"2015-01-04T13:43:48.462Z","0.1.0":"2015-01-04T13:43:48.462Z","1.0.0":"2015-03-12T09:48:51.465Z","2.0.0":"2015-10-05T11:17:59.288Z","3.0.0":"2016-06-27T23:33:41.573Z","3.0.1":"2016-08-05T13:23:48.463Z","3.0.2":"2019-07-09T03:34:46.890Z","3.0.3":"2021-05-20T17:15:37.651Z","4.0.0":"2023-12-06T11:36:37.378Z"},"homepage":"https://github.com/markdown-it/markdown-it-footnote#readme","keywords":["markdown-it-plugin","markdown-it","markdown","footnotes"],"repository":{"type":"git","url":"git+https://github.com/markdown-it/markdown-it-footnote.git"},"bugs":{"url":"https://github.com/markdown-it/markdown-it-footnote/issues"},"license":"MIT","readmeFilename":"README.md","users":{"toniwonkanobi":true,"soulchainer":true}}