{"_id":"mdast-util-footnote","_rev":"481680","name":"mdast-util-footnote","description":"mdast extension to parse and serialize footnotes","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2021-08-05T11:10:46.000Z","created":"2020-09-22T07:49:56.171Z","1.0.0":"2021-06-22T20:59:23.955Z","0.1.7":"2020-12-09T17:46:34.056Z","0.1.6":"2020-12-08T18:17:34.796Z","0.1.5":"2020-10-13T16:15:29.850Z","0.1.4":"2020-10-13T13:24:35.867Z","0.1.3":"2020-10-01T10:16:17.742Z","0.1.2":"2020-09-29T18:36:41.070Z","0.1.1":"2020-09-22T07:52:12.243Z","0.1.0":"2020-09-22T07:49:56.171Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"versions":{"1.0.0":{"name":"mdast-util-footnote","version":"1.0.0","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","mdast-util-to-markdown":"^1.0.0","micromark-util-normalize-identifier":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","mdast-util-from-markdown":"^1.0.0","micromark-extension-footnote":"^1.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --conditions development test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"44e4f67ca0d34670b0c21e05f7f0961b17ea8c8f","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@1.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"438945250e97572cb5ff97f9ae52dca9ad13afa7","size":4838,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-1.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_1.0.0_1624395563752_0.3476002937860172"},"_hasShrinkwrap":false,"publish_time":1624395563955,"_cnpm_publish_time":1624395563955},"0.1.7":{"name":"mdast-util-footnote","version":"0.1.7","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.6.0","micromark":"~2.11.0"},"devDependencies":{"mdast-util-from-markdown":"^0.8.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","xo":"^0.36.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"2bdd5a0b4acec18ba23be22082d8849c31dec83c","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.7","_nodeVersion":"15.1.0","_npmVersion":"6.14.9","dist":{"shasum":"4b226caeab4613a3362c144c94af0fdd6f7e0ef0","size":4350,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.7.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.7_1607535993898_0.9811555993150565"},"_hasShrinkwrap":false,"publish_time":1607535994056,"_cnpm_publish_time":1607535994056},"0.1.6":{"name":"mdast-util-footnote","version":"0.1.6","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.5.0","micromark":"~2.11.0"},"devDependencies":{"mdast-util-from-markdown":"^0.8.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","xo":"^0.36.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f695748f25e54192a132a03f50d1aaf8f2a0257a","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.6","_nodeVersion":"15.1.0","_npmVersion":"6.14.9","dist":{"shasum":"e27800ac1f7b1cacb7399fd4a323b63937cfd830","size":4349,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.6.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.6_1607451454673_0.6665720649481375"},"_hasShrinkwrap":false,"publish_time":1607451454796,"_cnpm_publish_time":1607451454796},"0.1.5":{"name":"mdast-util-footnote","version":"0.1.5","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.5.0","micromark":"~2.10.0"},"devDependencies":{"mdast-util-from-markdown":"^0.8.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0-alpha.1","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"165b8ce21232782653186798c1e0cc4893ee40b4","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.5","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"b05f047d934b003a6767a7402b4692019ef64c20","size":4362,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.5.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.5_1602605729617_0.08393205771900192"},"_hasShrinkwrap":false,"publish_time":1602605729850,"_cnpm_publish_time":1602605729850},"0.1.4":{"name":"mdast-util-footnote","version":"0.1.4","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.4.0","micromark":"~2.10.0"},"devDependencies":{"mdast-util-from-markdown":"^0.8.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0-alpha.1","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0712d5f46e35056c91ec7bddcf0ce30cdcd67162","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.4","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"d634b8cd324650113b13526be296029b40f17dc9","size":4363,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.4.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.4_1602595475691_0.7427910595686587"},"_hasShrinkwrap":false,"publish_time":1602595475867,"_cnpm_publish_time":1602595475867},"0.1.3":{"name":"mdast-util-footnote","version":"0.1.3","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.4.0","micromark":"~2.9.0"},"devDependencies":{"mdast-util-from-markdown":"^0.7.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"9a685ca3d819d35c5848a922ea519cdfa45af3cd","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.3","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"6e4120f890427b3d88c412c8aa10723cb28f56e0","size":4350,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.3.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.3_1601547377642_0.738950637180954"},"_hasShrinkwrap":false,"publish_time":1601547377742,"_cnpm_publish_time":1601547377742},"0.1.2":{"name":"mdast-util-footnote","version":"0.1.2","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.3.0","micromark":"~2.9.0"},"devDependencies":{"mdast-util-from-markdown":"^0.7.0","micromark-extension-footnote":"~0.3.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"3e8b84fb00aebb7e246ee2ee03d8da0037f87d30","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.2","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"8e9b18bded2dea1e3f67cd3bc6babafe6b13b8a8","size":4346,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.2.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.2_1601404600964_0.13776026268061137"},"_hasShrinkwrap":false,"publish_time":1601404601070,"_cnpm_publish_time":1601404601070},"0.1.1":{"name":"mdast-util-footnote","version":"0.1.1","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-markdown":"^0.3.0","micromark":"~2.8.0"},"devDependencies":{"mdast-util-from-markdown":"^0.6.0","micromark-extension-footnote":"~0.2.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b44654045a81063dd78cd833c4b6de0427191a3c","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"db93f183978580dab3efe88a85b6edf21abfe7a0","size":4348,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.1_1600761132095_0.9510291641861164"},"_hasShrinkwrap":false,"publish_time":1600761132243,"_cnpm_publish_time":1600761132243},"0.1.0":{"name":"mdast-util-footnote","version":"0.1.0","description":"mdast extension to parse and serialize footnotes","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","markup","footnote","note","pandoc"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-footnote.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-from-markdown":"^0.6.0","micromark":"~2.8.0"},"devDependencies":{"mdast-util-to-markdown":"^0.3.0","micromark-extension-footnote":"~0.2.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"6e80d9879651baac0ac5fe2057ae168ea14dda47","homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","_id":"mdast-util-footnote@0.1.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"a70886aae39d75393858d5032b2af792eab71bf0","size":4348,"noattachment":false,"key":"/mdast-util-footnote/-/mdast-util-footnote-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-footnote/download/mdast-util-footnote-0.1.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-footnote_0.1.0_1600760996046_0.4690367520326806"},"_hasShrinkwrap":false,"publish_time":1600760996171,"_cnpm_publish_time":1600760996171}},"readme":"# mdast-util-footnote\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\nExtension for [`mdast-util-from-markdown`][from-markdown] and/or\n[`mdast-util-to-markdown`][to-markdown] to support footnotes in **[mdast][]**.\nWhen parsing (`from-markdown`), must be combined with\n[`micromark-extension-footnote`][extension].\n\n## When to use this\n\nUse this if you’re dealing with the AST manually.\nIt might be better to use [`remark-footnotes`][remark-footnotes] with\n**[remark][]**, which includes this but provides a nicer interface and makes it\neasier to combine with hundreds of plugins.\n\n## Install\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c):\nNode 12+ is needed to use it and it must be `import`ed instead of `require`d.\n\n[npm][]:\n\n```sh\nnpm install mdast-util-footnote\n```\n\n## Use\n\nSay we have the following file, `example.md`:\n\n```markdown\nHere is a footnote call,[^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        { some.code }\n\n    The whole paragraph can be indented, or just the first\n    line.  In this way, multi-paragraph footnotes work like\n    multi-paragraph list items.\n\nThis paragraph won’t be part of the note, because it\nisn’t indented.\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\nAnd our module, `example.js`, looks as follows:\n\n```js\nimport fs from 'node:fs'\nimport {fromMarkdown} from 'mdast-util-from-markdown'\nimport {toMarkdown} from 'mdast-util-to-markdown'\nimport {footnote} from 'micromark-extension-footnote'\nimport {footnoteFromMarkdown, footnoteToMarkdown} from 'mdast-util-footnote'\n\nconst doc = fs.readFileSync('example.md')\n\nconst tree = fromMarkdown(doc, {\n  extensions: [footnote({inlineNotes: true})],\n  mdastExtensions: [footnoteFromMarkdown]\n})\n\nconsole.log(tree)\n\nconst out = toMarkdown(tree, {extensions: [footnoteToMarkdown]})\n\nconsole.log(out)\n```\n\nNow, running `node example` yields:\n\n```js\n{\n  type: 'root',\n  children: [\n    {\n      type: 'paragraph',\n      children: [\n        {type: 'text', value: 'Here is a footnote call,'},\n        {type: 'footnoteReference', identifier: '1', label: '1'},\n        {type: 'text', value: ' and another.'},\n        {type: 'footnoteReference', identifier: 'longnote', label: 'longnote'}\n      ]\n    },\n    {\n      type: 'footnoteDefinition',\n      identifier: '1',\n      label: '1',\n      children: [\n        {\n          type: 'paragraph',\n          children: [{type: 'text', value: 'Here is the footnote.'}]\n        }\n      ]\n    },\n    {\n      type: 'footnoteDefinition',\n      identifier: 'longnote',\n      label: 'longnote',\n      children: [\n        {\n          type: 'paragraph',\n          children: [{type: 'text', value: 'Here’s one with multiple blocks.'}]\n        },\n        {\n          type: 'paragraph',\n          children: [\n            {type: 'text', value: 'Subsequent paragraphs are indented to show that they\\nbelong to the previous footnote.'}\n          ]\n        },\n        {type: 'code', value: '{ some.code }'},\n        {\n          type: 'paragraph',\n          children: [\n            {type: 'text', value: 'The whole paragraph can be indented, or just the first\\nline.  In this way, multi-paragraph footnotes work like\\nmulti-paragraph list items.'}\n          ]\n        }\n      ]\n    },\n    {\n      type: 'paragraph',\n      children: [\n        {type: 'text', value: 'This paragraph won’t be part of the note, because it\\nisn’t indented.'}\n      ]\n    },\n    {\n      type: 'paragraph',\n      children: [\n        {type: 'text', value: 'Here is an inline note.'},\n        {\n          type: 'footnote',\n          children: [\n            {type: 'text', value: 'Inlines notes are easier to write, since\\nyou don’t have to pick an identifier and move down to type the\\nnote.'}\n          ]\n        }\n      ]\n    }\n  ]\n}\n```\n\n```markdown\nHere is a footnote call,[^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\n    belong to the previous footnote.\n\n        { some.code }\n\n    The whole paragraph can be indented, or just the first\n    line.  In this way, multi-paragraph footnotes work like\n    multi-paragraph list items.\n\nThis paragraph won’t be part of the note, because it\nisn’t indented.\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\n## API\n\nThis package exports the following identifier: `footnoteFromMarkdown`,\n`footnoteToMarkdown`.\nThere is no default export.\n\n### `footnoteFromMarkdown`\n\n### `footnoteToMarkdown`\n\nSupport footnotes.\nThese exports are extensions, respectively for\n[`mdast-util-from-markdown`][from-markdown] and\n[`mdast-util-to-markdown`][to-markdown].\n\n## Related\n\n*   [`remarkjs/remark`][remark]\n    — markdown processor powered by plugins\n*   [`remarkjs/remark-footnotes`][remark-footnotes]\n    — remark plugin to support footnotes\n*   [`micromark/micromark`][micromark]\n    — the smallest commonmark-compliant markdown parser that exists\n*   [`micromark/micromark-extension-footnote`][extension]\n    — micromark extension to parse footnotes\n*   [`syntax-tree/mdast-util-from-markdown`][from-markdown]\n    — mdast parser using `micromark` to create mdast from markdown\n*   [`syntax-tree/mdast-util-to-markdown`][to-markdown]\n    — mdast serializer to create markdown from mdast\n\n## Contribute\n\nSee [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get\nstarted.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/mdast-util-footnote/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/mdast-util-footnote/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-util-footnote.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/mdast-util-footnote\n\n[downloads-badge]: https://img.shields.io/npm/dm/mdast-util-footnote.svg\n\n[downloads]: https://www.npmjs.com/package/mdast-util-footnote\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/mdast-util-footnote.svg\n\n[size]: https://bundlephobia.com/result?p=mdast-util-footnote\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[contributing]: https://github.com/syntax-tree/.github/blob/HEAD/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/HEAD/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/HEAD/code-of-conduct.md\n\n[mdast]: https://github.com/syntax-tree/mdast\n\n[remark]: https://github.com/remarkjs/remark\n\n[remark-footnotes]: https://github.com/remarkjs/remark-footnotes\n\n[from-markdown]: https://github.com/syntax-tree/mdast-util-from-markdown\n\n[to-markdown]: https://github.com/syntax-tree/mdast-util-to-markdown\n\n[micromark]: https://github.com/micromark/micromark\n\n[extension]: https://github.com/micromark/micromark-extension-footnote\n","_attachments":{},"homepage":"https://github.com/syntax-tree/mdast-util-footnote#readme","bugs":{"url":"https://github.com/syntax-tree/mdast-util-footnote/issues"},"license":"MIT"}