{"id":13906438,"url":"https://github.com/magnetikonline/markdown-toc-generate","last_synced_at":"2025-10-13T14:11:08.243Z","repository":{"id":20070304,"uuid":"23339119","full_name":"magnetikonline/markdown-toc-generate","owner":"magnetikonline","description":"Table of contents (TOC) generator for a given Markdown page source.","archived":false,"fork":false,"pushed_at":"2024-05-19T07:15:59.000Z","size":26,"stargazers_count":24,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T20:24:57.040Z","etag":null,"topics":["markdown","webtool"],"latest_commit_sha":null,"homepage":"https://magnetikonline.github.io/markdown-toc-generate/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magnetikonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-26T04:48:50.000Z","updated_at":"2024-05-19T07:13:41.000Z","dependencies_parsed_at":"2024-05-19T08:24:10.673Z","dependency_job_id":null,"html_url":"https://github.com/magnetikonline/markdown-toc-generate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fmarkdown-toc-generate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fmarkdown-toc-generate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fmarkdown-toc-generate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fmarkdown-toc-generate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline","download_url":"https://codeload.github.com/magnetikonline/markdown-toc-generate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251969230,"owners_count":21673180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markdown","webtool"],"created_at":"2024-08-06T23:01:35.721Z","updated_at":"2025-10-13T14:11:03.197Z","avatar_url":"https://github.com/magnetikonline.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Markdown TOC generate\nClient side Markdown table of contents (TOC) generator.\n\n## Usage\n- Paste source Markdown document into first textarea.\n- Select options.\n- Hit \u003ckbd\u003eGenerate\u003c/kbd\u003e.\n- Final table of contents dropped into second textarea.\n- Hit \u003ckbd\u003eCopy to clipboard\u003c/kbd\u003e and you're done.\n\n## Tests\nTests for `stripPunctuation()`, a JavaScript implementation of [CommonMark's](https://github.com/github/cmark-gfm) [`int cmark_utf8proc_is_punctuation(int32_t uc)`](https://github.com/github/cmark-gfm/blob/aed182ed089f1c4d42b75657064ae76904e9e024/src/utf8.c#L256-L317) function under [`test/`](test/).\n\nImplementation of `stripPunctuation()` ensures generated links to headings are valid when dealing with characters/languages using extended UTF-8 character sets.\n\n## Online\nAvailable here: https://magnetikonline.github.io/markdown-toc-generate/.\n\nBuilt and tested against Google Chrome (version 75).\n\n## Reference\n- https://github.com/github/cmark-gfm\n- [`int cmark_utf8proc_is_punctuation(int32_t uc)`](https://github.com/github/cmark-gfm/blob/aed182ed089f1c4d42b75657064ae76904e9e024/src/utf8.c#L256-L317)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fmarkdown-toc-generate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnetikonline%2Fmarkdown-toc-generate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fmarkdown-toc-generate/lists"}