{"id":20929402,"url":"https://github.com/alejandrohdezma/sbt-mdoc-toc","last_synced_at":"2025-10-18T10:40:34.270Z","repository":{"id":38037703,"uuid":"241051306","full_name":"alejandrohdezma/sbt-mdoc-toc","owner":"alejandrohdezma","description":"Allows mdoc to generate table of contents for markdown files","archived":false,"fork":false,"pushed_at":"2024-05-15T05:21:45.000Z","size":465,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-21T04:13:46.754Z","etag":null,"topics":["documentation","mdoc","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejandrohdezma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"alejandrohdezma"}},"created_at":"2020-02-17T08:03:55.000Z","updated_at":"2024-06-01T06:33:43.285Z","dependencies_parsed_at":"2023-02-17T02:15:52.857Z","dependency_job_id":"84495be3-e559-4ac8-8b6c-0d5d790815b9","html_url":"https://github.com/alejandrohdezma/sbt-mdoc-toc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrohdezma%2Fsbt-mdoc-toc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrohdezma%2Fsbt-mdoc-toc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrohdezma%2Fsbt-mdoc-toc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrohdezma%2Fsbt-mdoc-toc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandrohdezma","download_url":"https://codeload.github.com/alejandrohdezma/sbt-mdoc-toc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324267,"owners_count":20273099,"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":["documentation","mdoc","scala"],"created_at":"2024-11-18T21:19:17.933Z","updated_at":"2025-10-18T10:40:34.206Z","avatar_url":"https://github.com/alejandrohdezma.png","language":"Scala","funding_links":["https://ko-fi.com/alejandrohdezma"],"categories":[],"sub_categories":[],"readme":"# `mdoc` table-of-contents generator\n\nThis plugin enables generating a table of contents for markdown files using [`mdoc`](https://scalameta.org/mdoc/) by adding the following code:\n\n````markdown\n```scala mdoc:toc\n```\n````\n\n## Installation\n\nAdd the following line to your `plugins.sbt` file:\n\n```sbt\naddSbtPlugin(\"com.alejandrohdezma\" % \"sbt-mdoc-toc\" % \"0.4.2\")\n```\n\n## Usage\n\nJust add the following where you want to add the table of contents in your markdown file:\n\n````markdown\n```scala mdoc:toc\n```\n````\n\nAnd run `sbt mdoc`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrohdezma%2Fsbt-mdoc-toc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrohdezma%2Fsbt-mdoc-toc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrohdezma%2Fsbt-mdoc-toc/lists"}