{"id":17790473,"url":"https://github.com/cwickham/typst-div","last_synced_at":"2025-09-03T06:35:33.911Z","repository":{"id":242145385,"uuid":"808804029","full_name":"cwickham/typst-div","owner":"cwickham","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-31T21:29:18.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T01:20:38.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwickham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-31T21:21:42.000Z","updated_at":"2024-05-31T21:29:22.000Z","dependencies_parsed_at":"2024-05-31T22:55:12.351Z","dependency_job_id":null,"html_url":"https://github.com/cwickham/typst-div","commit_stats":null,"previous_names":["cwickham/typst-div"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwickham/typst-div","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwickham%2Ftypst-div","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwickham%2Ftypst-div/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwickham%2Ftypst-div/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwickham%2Ftypst-div/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwickham","download_url":"https://codeload.github.com/cwickham/typst-div/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwickham%2Ftypst-div/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273403937,"owners_count":25099299,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-27T10:43:54.613Z","updated_at":"2025-09-03T06:35:33.857Z","avatar_url":"https://github.com/cwickham.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typst-div Extension For Quarto\n\nAdds a filter to pick up divs with a class that starts with `.typst_`. The contents of the div is passed to a function that matches the suffix of the class, e.g. `.typst_page` passes the content to the `page()` function.  Attributes to the div are passed as named arguments.\n\n## Installing\n\n```bash\nquarto add cwickham/typst-div\n```\n\nThis will install the extension under the `_extensions` subdirectory.\nIf you're using version control, you will want to check in this directory.\n\n## Using\n\n````\n::: {.typst_page fill='rgb(\"#39729E\")'}\n\nThis content will be passed to `page()` setting the `fill` argument:\n\n```typst\n#page(fill: rgb(\"#39729E\"))[\n  {{ Div contents }}\n]\n```\n\n::: \n````\n\n## Example\n\nMinimal example: [Source](example.qmd), [PDF](example.pdf)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwickham%2Ftypst-div","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwickham%2Ftypst-div","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwickham%2Ftypst-div/lists"}