{"id":43476403,"url":"https://github.com/8lwxpg/typst-treet","last_synced_at":"2026-02-03T07:41:43.680Z","repository":{"id":215804486,"uuid":"739818712","full_name":"8LWXpg/typst-treet","owner":"8LWXpg","description":"Create tree list easily in Typst","archived":false,"fork":false,"pushed_at":"2025-04-29T13:25:16.000Z","size":368,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T14:40:11.814Z","etag":null,"topics":["list","tree","typst","typst-package"],"latest_commit_sha":null,"homepage":"","language":"Typst","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/8LWXpg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"8LWXpg","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-01-06T16:34:20.000Z","updated_at":"2025-04-29T13:25:20.000Z","dependencies_parsed_at":"2024-12-29T12:17:40.863Z","dependency_job_id":"3b59e5a8-cae5-4297-8df0-5216a5c5e53f","html_url":"https://github.com/8LWXpg/typst-treet","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"2345de06445381637669e3ecc7112baa9d7aaabf"},"previous_names":["8lwxpg/typst-tree-list","8lwxpg/typst-treet"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/8LWXpg/typst-treet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8LWXpg%2Ftypst-treet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8LWXpg%2Ftypst-treet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8LWXpg%2Ftypst-treet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8LWXpg%2Ftypst-treet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8LWXpg","download_url":"https://codeload.github.com/8LWXpg/typst-treet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8LWXpg%2Ftypst-treet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29037532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:39:36.383Z","status":"ssl_error","status_checked_at":"2026-02-03T06:39:32.787Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["list","tree","typst","typst-package"],"created_at":"2026-02-03T07:41:43.121Z","updated_at":"2026-02-03T07:41:43.670Z","avatar_url":"https://github.com/8LWXpg.png","language":"Typst","funding_links":["https://ko-fi.com/8LWXpg"],"categories":[],"sub_categories":[],"readme":"# Treet\r\n\r\n\u003ca href=\"https://github.com/8LWXpg/typst-treet/tags\" style=\"text-decoration: none;\"\u003e\r\n  \u003cimg alt=\"GitHub manifest version (path)\" src=\"https://img.shields.io/github/v/tag/8LWXpg/typst-treet\"\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://github.com/8LWXpg/typst-treet\" style=\"text-decoration: none;\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/github/stars/8LWXpg/typst-treet?style=flat\" alt=\"GitHub Repo stars\"\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://github.com/8LWXpg/typst-treet/blob/master/LICENSE\" style=\"text-decoration: none;\"\u003e\r\n  \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/8LWXpg/typst-treet\"\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://github.com/typst/packages/tree/main/packages/preview/treet\" style=\"text-decoration: none;\"\u003e\r\n  \u003cimg alt=\"typst package\" src=\"https://img.shields.io/badge/typst-package-239dad\"\u003e\r\n\u003c/a\u003e\r\n\r\nCreate tree list easily in Typst\r\n\r\ncontribution is welcomed!\r\n\r\n## Usage\r\n\r\n```typst\r\n#import \"@preview/treet:1.0.0\": *\r\n\r\n#tree-list(\r\n  marker:       content,\r\n  last-marker:  content,\r\n  indent:       content,\r\n  empty-indent: content,\r\n  marker-font:  string,\r\n  content,\r\n)\r\n```\r\n\r\n### Parameters\r\n\r\n- `marker` - the marker of the tree list, default is `[├─ ]`\r\n- `last-marker` - the marker of the last item of the tree list, default is `[└─ ]`\r\n- `indent` - the indent after `marker`, default is `[│#h(1em)]`\r\n- `empty-indent` - the indent after `last-marker`, default is `[#h(1.5em)]` (same width as indent)\r\n- `marker-font` - the font of the marker, default is `\"Cascadia Code\"`\r\n- `content` - the content of the tree list, includes at least a list\r\n\r\n## Demo\r\n\r\nsee [demo.typ](https://github.com/8LWXpg/typst-treet/blob/master/test/demo.typ) [demo.pdf](https://github.com/8LWXpg/typst-treet/blob/master/test/demo.pdf)\r\n\r\n### Default style\r\n\r\n```typst\r\n#tree-list[\r\n  - 1\r\n    - 1.1\r\n      - 1.1.1\r\n    - 1.2\r\n      - 1.2.1\r\n      - 1.2.2\r\n        - 1.2.2.1\r\n  - 2\r\n  - 3\r\n    - 3.1\r\n      - 3.1.1\r\n    - 3.2\r\n]\r\n```\r\n\r\n![1.png](https://github.com/8LWXpg/typst-treet/blob/master/img/1.png)\r\n\r\n### Custom style\r\n\r\n```typst\r\n#text(red, tree-list(\r\n  marker: text(blue)[├── ],\r\n  last-marker: text(aqua)[└── ],\r\n  indent: text(teal)[│#h(1.5em)],\r\n  empty-indent: h(2em),\r\n)[\r\n  - 1\r\n    - 1.1\r\n      - 1.1.1\r\n    - 1.2\r\n      - 1.2.1\r\n      - 1.2.2\r\n        - 1.2.2.1\r\n  - 2\r\n  - 3\r\n    - 3.1\r\n      - 3.1.1\r\n    - 3.2\r\n])\r\n```\r\n\r\n![2.png](https://github.com/8LWXpg/typst-treet/blob/master/img/2.png)\r\n\r\n### Using show rule\r\n\r\n```typst\r\n#show list: tree-list\r\n#set text(font: \"DejaVu Sans Mono\")\r\n\r\nroot_folder\\\r\n- sub-folder\r\n  - 1-1\r\n    - 1.1.1 -\r\n  - 1.2\r\n    - 1.2.1\r\n    - 1.2.2\r\n- 2\r\n```\r\n\r\n![3.png](https://github.com/8LWXpg/typst-treet/blob/master/img/3.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8lwxpg%2Ftypst-treet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8lwxpg%2Ftypst-treet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8lwxpg%2Ftypst-treet/lists"}