├── .editorconfig ├── .eslintrc.json ├── .gitattributes ├── .github └── contributing.md ├── .gitignore ├── .travis.yml ├── .verb.md ├── LICENSE ├── README.md ├── index.js ├── package.json └── test ├── expected ├── base.html ├── duplicate-names.html ├── one-level.html ├── options-addID.html ├── options-anchorTemplate.html ├── options-anchors.html ├── options-header.html ├── options-id.html ├── options-parentLink.html ├── options-selectors.html └── options-slugger.html ├── fixtures ├── base.html ├── duplicate-names.html ├── one-level.html ├── options-addID.html ├── options-anchorTemplate.html ├── options-anchors.html ├── options-header.html ├── options-id.html ├── options-minLength.html ├── options-parentLink.html ├── options-selectors.html └── options-slugger.html └── test.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.github/contributing.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.travis.yml -------------------------------------------------------------------------------- /.verb.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/.verb.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/package.json -------------------------------------------------------------------------------- /test/expected/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/base.html -------------------------------------------------------------------------------- /test/expected/duplicate-names.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/duplicate-names.html -------------------------------------------------------------------------------- /test/expected/one-level.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/one-level.html -------------------------------------------------------------------------------- /test/expected/options-addID.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-addID.html -------------------------------------------------------------------------------- /test/expected/options-anchorTemplate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-anchorTemplate.html -------------------------------------------------------------------------------- /test/expected/options-anchors.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-anchors.html -------------------------------------------------------------------------------- /test/expected/options-header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-header.html -------------------------------------------------------------------------------- /test/expected/options-id.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-id.html -------------------------------------------------------------------------------- /test/expected/options-parentLink.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-parentLink.html -------------------------------------------------------------------------------- /test/expected/options-selectors.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-selectors.html -------------------------------------------------------------------------------- /test/expected/options-slugger.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/expected/options-slugger.html -------------------------------------------------------------------------------- /test/fixtures/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/base.html -------------------------------------------------------------------------------- /test/fixtures/duplicate-names.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/duplicate-names.html -------------------------------------------------------------------------------- /test/fixtures/one-level.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/one-level.html -------------------------------------------------------------------------------- /test/fixtures/options-addID.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-addID.html -------------------------------------------------------------------------------- /test/fixtures/options-anchorTemplate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-anchorTemplate.html -------------------------------------------------------------------------------- /test/fixtures/options-anchors.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-anchors.html -------------------------------------------------------------------------------- /test/fixtures/options-header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-header.html -------------------------------------------------------------------------------- /test/fixtures/options-id.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-id.html -------------------------------------------------------------------------------- /test/fixtures/options-minLength.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-minLength.html -------------------------------------------------------------------------------- /test/fixtures/options-parentLink.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-parentLink.html -------------------------------------------------------------------------------- /test/fixtures/options-selectors.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-selectors.html -------------------------------------------------------------------------------- /test/fixtures/options-slugger.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/fixtures/options-slugger.html -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/html-toc/HEAD/test/test.js --------------------------------------------------------------------------------