{"_id":"slate-edit-footnote","_rev":"29-e9f2a109deb526f460591c2248bc4f6a","name":"slate-edit-footnote","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"slate-edit-footnote","version":"0.1.0","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.1.0","maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"661778dfb5093501445949c4794d277a17507b96","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.1.0.tgz","integrity":"sha512-VQCy+F4oN1vSld08aLebsC5ZBm6LJYAM2NGnJ3MrwSKbRh7n/gaPqDVtVLf6bZc/OzSc+vXPQr/EmUHzvhh+SA==","signatures":[{"sig":"MEQCIGqBDTJS4plShHaRyFviukJiNjuWASEy6kqW2NI4IRcfAiAu5SahZFP+u1bBMcRll0X9Qq2q6OrP6gxTyBBrJF503g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"661778dfb5093501445949c4794d277a17507b96","gitHead":"bc69ab8f611929c369f591b36e9e902e98fc717f","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","prepublish":"babel ./src --out-dir ./dist"},"_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.3","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"slate":"github:gitbookio/slate#26c6105c86994b2a19cf08dd6327a00d83bc497c","immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","eslint":"^3.1.1","expect":"^1.20.2","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","read-metadata":"^1.0.0","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.1.0.tgz_1478043919181_0.2827159452717751","host":"packages-18-east.internal.npmjs.com"}},"0.1.1":{"name":"slate-edit-footnote","version":"0.1.1","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.1.1","maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"da2cbdc5ad9c4727cb7f64ceaeaef6e0162c463c","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.1.1.tgz","integrity":"sha512-3ySLarAbgA3YTC8BbWE3qaMvldlpmzRm0YDOBmE+/dipmGHUxmJfUJlzUYVvqP1tgZhPKy1WI8ofucmW868GhA==","signatures":[{"sig":"MEUCIHIA/rmX//8/KEvHgV5dVQdpuHoBpJWTvgjlp0syo7ZQAiEAp4h7hyPvFDDa2uIyC8TSs1Ws7EWMhgIocMXTUQtSmdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"da2cbdc5ad9c4727cb7f64ceaeaef6e0162c463c","gitHead":"7c3958c220f9d62c1ec70f8060ed86c733bc88da","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","prepublish":"babel ./src --out-dir ./dist"},"_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.3","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"slate":"github:gitbookio/slate#26c6105c86994b2a19cf08dd6327a00d83bc497c","immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","eslint":"^3.9.1","expect":"^1.20.2","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","read-metadata":"^1.0.0","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.1.1.tgz_1478076937699_0.8370054955594242","host":"packages-12-west.internal.npmjs.com"}},"0.2.0":{"name":"slate-edit-footnote","version":"0.2.0","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.2.0","maintainers":[{"name":"aarono","email":"aaron.omullan@gmail.com"},{"name":"gitbook-bot","email":"contact@gitbook.com"},{"name":"jpreynat","email":"johan.preynat@gmail.com"},{"name":"mklabs","email":"daniel.mickael@gmail.com"},{"name":"samypesse","email":"samypesse@gmail.com"},{"name":"soreine","email":"soreine.plume@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"4ffadd55804b6e14b5a91668df817d106f24637e","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.2.0.tgz","integrity":"sha512-Ln/xJlYTxSBowJmuW+1Nk8OE9mGRb2QaA33VO9mxX0wVlRFcwU3HYZzicVz5ju5noAi0UtKLVUYyrx1cyaRQTA==","signatures":[{"sig":"MEUCIEKtBYbRXtyp787vfQAHw8VoMox569nhFGwouEJaZECJAiEA5wyO/Ya2paJ7Hl2nmDi8braUlRnFu9gNh7uatSWuFHk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"4ffadd55804b6e14b5a91668df817d106f24637e","gitHead":"34f11d3a992f142a66e47cd793229fe769d4c6fb","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","start":"npm run build-example; npm run serve-example","prepublish":"babel ./src --out-dir ./dist","postpublish":"npm run deploy-example","build-example":"browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ]","serve-example":"http-server ./example/ -p 8080","watch-example":"watchify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ] -v","deploy-example":"npm run build-example; gh-pages -d ./example"},"_npmUser":{"name":"mklabs","email":"daniel.mickael@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.8","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.9.1","dependencies":{"slate":"github:gitbookio/slate#26c6105c86994b2a19cf08dd6327a00d83bc497c","immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","eslint":"^3.9.1","expect":"^1.20.2","babelify":"^7.3.0","gh-pages":"^0.11.0","watchify":"^3.7.0","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","browserify":"^13.1.1","http-server":"^0.9.0","read-metadata":"^1.0.0","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.2.0.tgz_1478163741179_0.04138973937369883","host":"packages-18-east.internal.npmjs.com"}},"0.3.0":{"name":"slate-edit-footnote","version":"0.3.0","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.3.0","maintainers":[{"name":"aarono","email":"aaron.omullan@gmail.com"},{"name":"gitbook-bot","email":"contact@gitbook.com"},{"name":"jpreynat","email":"johan.preynat@gmail.com"},{"name":"mklabs","email":"daniel.mickael@gmail.com"},{"name":"samypesse","email":"samypesse@gmail.com"},{"name":"soreine","email":"soreine.plume@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"8d1813d10c95f0f2a051b5c15daf61d9becc86e5","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.3.0.tgz","integrity":"sha512-VTtMaXgoCSRBruD366+tztgDLt1XV8KcyunE4bZFLaHfUX80TgT9v1lHWz/JlSgjdKeAZSqL9IJbJInyB05dRg==","signatures":[{"sig":"MEUCIEhSA9LvGeeS/5fTzrhyLEwn8kyXjO3VY9YbRehQ0mixAiEA6t+TpdfWP/sQG9eQBpBUAidTlbFPHh0aevpj+RB53Tg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"8d1813d10c95f0f2a051b5c15daf61d9becc86e5","gitHead":"aa08284abfea0e7e3aa32c1260703d4a8ea94a42","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","start":"npm run build-example; npm run serve-example","prepublish":"babel ./src --out-dir ./dist","postpublish":"npm run deploy-example","build-example":"browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ]","serve-example":"http-server ./example/ -p 8080","watch-example":"watchify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ] -v","deploy-example":"npm run build-example; gh-pages -d ./example"},"_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.3","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"slate":"^0.14.6","immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","slate":"github:gitbookio/slate#26c6105c86994b2a19cf08dd6327a00d83bc497c","eslint":"^3.9.1","expect":"^1.20.2","babelify":"^7.3.0","gh-pages":"^0.11.0","watchify":"^3.7.0","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","browserify":"^13.1.1","http-server":"^0.9.0","read-metadata":"^1.0.0","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.3.0.tgz_1478190588724_0.08969284407794476","host":"packages-12-west.internal.npmjs.com"}},"0.3.1":{"name":"slate-edit-footnote","version":"0.3.1","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.3.1","maintainers":[{"name":"aarono","email":"aaron.omullan@gmail.com"},{"name":"gitbook-bot","email":"contact@gitbook.com"},{"name":"jpreynat","email":"johan.preynat@gmail.com"},{"name":"mklabs","email":"daniel.mickael@gmail.com"},{"name":"samypesse","email":"samypesse@gmail.com"},{"name":"soreine","email":"soreine.plume@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"1eb409db635ed6ee9e66d86cc3196650754b7274","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.3.1.tgz","integrity":"sha512-LZNgG7x1esuBDsp3x3Jhx+0q1cWHMganB8/3j+x6ElyUpVT2b23eEUTaiFK1gwB9Gkh7ypprltkJGOAQJ4t/FQ==","signatures":[{"sig":"MEYCIQDH2IUfoPqPZBGh/mCLCLPS/CiGEQT7r8ZRrv4VTcyQBAIhALljn976+r1V+mV7ykXnWbqbgn6qBMMhZVREUsf59p+w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"1eb409db635ed6ee9e66d86cc3196650754b7274","gitHead":"e44785fb3bd862468d3757d6c108c781c7f1ab8b","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","start":"npm run build-example; npm run serve-example","prepublish":"babel ./src --out-dir ./dist","postpublish":"npm run deploy-example","build-example":"browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ]","serve-example":"http-server ./example/ -p 8080","watch-example":"watchify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ] -v","deploy-example":"npm run build-example; gh-pages -d ./example"},"_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.3","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","slate":"github:gitbookio/slate#26c6105c86994b2a19cf08dd6327a00d83bc497c","eslint":"^3.9.1","expect":"^1.20.2","babelify":"^7.3.0","gh-pages":"^0.11.0","watchify":"^3.7.0","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","browserify":"^13.1.1","http-server":"^0.9.0","read-metadata":"^1.0.0","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"peerDependencies":{"slate":"^0.14.6"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.3.1.tgz_1478191547220_0.8004461310338229","host":"packages-12-west.internal.npmjs.com"}},"0.3.2":{"name":"slate-edit-footnote","version":"0.3.2","keywords":["slate"],"license":"Apache-2.0","_id":"slate-edit-footnote@0.3.2","maintainers":[{"name":"aarono","email":"aaron.omullan@gmail.com"},{"name":"gitbook-bot","email":"contact@gitbook.com"},{"name":"jpreynat","email":"johan.preynat@gmail.com"},{"name":"mklabs","email":"daniel.mickael@gmail.com"},{"name":"samypesse","email":"samypesse@gmail.com"},{"name":"soreine","email":"soreine.plume@gmail.com"}],"homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"dist":{"shasum":"711707ce58ecc7902f4c7435b4eee2ecf276dcb3","tarball":"https://registry.npmjs.org/slate-edit-footnote/-/slate-edit-footnote-0.3.2.tgz","integrity":"sha512-v6XpB+DtBI8GvJeRQ1xSl9rCg45pisdMc20rjGO7AMLxX+El2IjvgClaGFJkFAq/+HGXb8ouBTjzCLlQeEieFg==","signatures":[{"sig":"MEUCIQDJvKvS2VBsMoe+/WPFFuT2c330izmpk79h3nr+toqxUgIgClm3omStgXqml+RFLRnCKa8ywGc+n4wXqQ/pYZCvCZ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/index.js","_from":".","_shasum":"711707ce58ecc7902f4c7435b4eee2ecf276dcb3","gitHead":"3117df338fae470e4c0c22cd9ee770118fcda534","scripts":{"lint":"eslint ./","test":"mocha ./tests/*.js --compilers js:babel-register --reporter=list","start":"npm run build-example; npm run serve-example","prepublish":"babel ./src --out-dir ./dist","postpublish":"npm run deploy-example","build-example":"browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ]","serve-example":"http-server ./example/ -p 8080","watch-example":"watchify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react ] ] -v","deploy-example":"npm run build-example; gh-pages -d ./example"},"_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"_npmVersion":"3.10.3","description":"A Slate plugin to work with footnote.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"immutable":"^3.8.1"},"devDependencies":{"mocha":"^3.0.1","react":"^15.3.2","slate":"0.15.10","eslint":"^3.9.1","expect":"^1.20.2","babelify":"^7.3.0","gh-pages":"^0.11.0","watchify":"^3.7.0","babel-cli":"^6.11.4","react-dom":"^15.3.2","babel-core":"^6.11.4","browserify":"^13.1.1","http-server":"^0.9.0","read-metadata":"^1.0.0","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0","eslint-config-gitbook":"1.4.0"},"peerDependencies":{"slate":"*"},"_npmOperationalInternal":{"tmp":"tmp/slate-edit-footnote-0.3.2.tgz_1480511424337_0.9481582357548177","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-11-01T23:45:19.707Z","modified":"2026-03-31T14:08:51.911Z","0.1.0":"2016-11-01T23:45:19.707Z","0.1.1":"2016-11-02T08:55:39.815Z","0.2.0":"2016-11-03T09:02:21.703Z","0.3.0":"2016-11-03T16:29:51.084Z","0.3.1":"2016-11-03T16:45:49.872Z","0.3.2":"2016-11-30T13:10:27.013Z"},"bugs":{"url":"https://github.com/GitbookIO/slate-edit-footnote/issues"},"license":"Apache-2.0","homepage":"https://github.com/GitbookIO/slate-edit-footnote#readme","keywords":["slate"],"repository":{"url":"git://github.com/GitbookIO/slate-edit-footnote.git","type":"git"},"description":"A Slate plugin to work with footnote.","maintainers":[{"email":"contact@gitbook.com","name":"gitbook-bot"},{"email":"samypesse@gmail.com","name":"samypesse"},{"email":"johan.preynat@gmail.com","name":"jpreynat"},{"email":"shne24@gmail.com","name":"emmerich"},{"email":"taranvohra@outlook.com","name":"taranvohra"},{"email":"nolann.biron@ynov.com","name":"nolannb"},{"email":"berge.greg@gmail.com","name":"neoziro"},{"email":"admin@zeno.zone","name":"zenoachtig"}],"readme":"# slate-edit-footnote\n\n[![NPM version](https://badge.fury.io/js/slate-edit-footnote.svg)](http://badge.fury.io/js/slate-edit-footnote)\n[![Linux Build Status](https://travis-ci.org/GitbookIO/slate-edit-footnote.png?branch=master)](https://travis-ci.org/GitbookIO/slate-edit-footnote)\n\nA Slate plugin to handle footnote edition.\n\n### Install\n\n```\nnpm install slate-edit-footnote\n```\n\n### Features\n\n- Normalize footnotes to be at end of the document\n\n### Simple Usage\n\n```js\nimport EditFootnote from 'slate-edit-footnote'\n\nconst plugins = [\n  EditFootnote()\n]\n```\n\n#### Arguments\n\n- ``[typeFootnote: String]`` — type for the footnote block\n- ``[typeRef: String]`` — type for the footnote ref\n\n### Utilities and Transform\n\n`slate-edit-footnote` exports utilities and transforms:\n\n\n#### `transforms.insertFootnote`\n\n`plugin.transforms.insertFootnote(transform: Transform) => Transform`\n\nInsert a new empty footnote, with a reference at the current position.\n\n#### `plugin.isSelectionInFootnote(options, state)`\n\nUtilities to determine if the current selection in the provided `state` is\nwithin a footnote. `options` is an object with a property `typeFootnote` which\ndefaults to `footnote`.\n","readmeFilename":"README.md"}