{"id":35284942,"url":"https://github.com/mbollmann/typst-kunskap","last_synced_at":"2026-04-06T01:01:50.916Z","repository":{"id":259613000,"uuid":"878989785","full_name":"mbollmann/typst-kunskap","owner":"mbollmann","description":"A Typst template for reports, assignments, course documents, and so on.","archived":false,"fork":false,"pushed_at":"2024-10-31T09:29:14.000Z","size":363,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-20T11:37:16.951Z","etag":null,"topics":["typst","typst-template"],"latest_commit_sha":null,"homepage":"","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbollmann.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-10-26T16:55:01.000Z","updated_at":"2026-01-04T05:12:07.000Z","dependencies_parsed_at":"2024-10-26T22:31:15.180Z","dependency_job_id":"f0a28f17-6daa-44a1-92b5-cbdabe016f36","html_url":"https://github.com/mbollmann/typst-kunskap","commit_stats":null,"previous_names":["mbollmann/typst-kunskap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mbollmann/typst-kunskap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbollmann%2Ftypst-kunskap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbollmann%2Ftypst-kunskap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbollmann%2Ftypst-kunskap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbollmann%2Ftypst-kunskap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbollmann","download_url":"https://codeload.github.com/mbollmann/typst-kunskap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbollmann%2Ftypst-kunskap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31455474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["typst","typst-template"],"created_at":"2025-12-30T15:15:12.508Z","updated_at":"2026-04-06T01:01:50.905Z","avatar_url":"https://github.com/mbollmann.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kunskap\n\nA [Typst](https://typst.app/) template mainly intended for shorter academic\ndocuments such as reports, assignments, course documents, and so on.  Its name,\n_\"kunskap\"_, means _knowledge_ in Swedish.\n\nSee [this example\nPDF](https://github.com/mbollmann/typst-kunskap/blob/main/example.pdf) for a\nlonger demonstration of how it looks.\n\n## Usage\n\nYou can use this template in the Typst web app by clicking \"Start from template\"\non the dashboard and searching for `kunskap`.\n\nAlternatively, you can use the CLI to kick this project off using the command\n\n```sh\ntypst init @preview/kunskap\n```\n\nTypst will create a new directory with all the files needed to get you started.\n\n## Configuration\n\nThis template exports the `kunskap` function with several arguments.  You will\nwant to set at least the following, describing the metadata of your document:\n\n| Argument | Description |\n| -------- | ----------- |\n| `title`  | Title of your document |\n| `author` | Author(s) of your document; can be any content, or an array of strings |\n| `date`   | Date string to display below the author(s); defaults to a string of today's date, but can take any content.  Set to `none` if you don't use it at all. |\n| `header` | Content that appears in the left-hand side of the header on every page; this is intended for e.g. the name of a course or some other contextual information for the document, but can of course also be left empty. |\n\nAdditionally, you can configure some aspects of the template's layout with the\nfollowing arguments:\n\n| Argument | Description | Default |\n| -------- | ----------- | ------- |\n| `paper-size` | Paper size of the document | `\"a4\"` |\n| `body-font` | Font for the body text | `\"Noto Serif\"` |\n| `body-font-size` | Font size for the body text | `10pt` |\n| `headings-font` | Font for the headings | `(\"Source Sans Pro\", \"Source Sans 3\")` |\n| `raw-font` | Font for raw (i.e. monospaced) text | `(\"Hack\", \"Source Code Pro\")`[^1] |\n| `raw-font-size` | Font size for raw text | `9pt` |\n| `link-color` | Color for highlighting [links] | `rgb(\"#3282b8\")` ![Color sample](https://img.shields.io/badge/steel_blue-3282b8) |\n| `muted-color` | Color for muted text, such as page numbers and headers after the first page | `luma(160)` |\n| `block-bg-color` | Color for the background of raw text | `luma(240)` |\n\n\nThe template will initialize your document with a sample call to the `kunskap` function.  Alternatively, here's a minimal example of how you could use this template in your document:\n\n```typst\n#import \"@preview/kunskap:0.1.0\": *\n\n#show: kunskap.with(\n    title: \"Your report title\",\n    author: \"Your name\",\n    date: datetime.today().display(),\n    header: \"Your course name\",\n)\n\n#lorem(120)\n```\n\n## Missing features\n\nAs of now, this template has not yet been particularly optimized for styling related to:\n\n- Bibliographies\n- Outlines (e.g. table of contents)\n- Tables\n\n\n## Credits\n\nThis template started out by emulating the layout of course documents in [Marco\nKuhlmann](https://liu.se/en/employee/marku61)'s courses at Linköping University.[^2]\nOn the technical side, this template took a lot of inspiration from [the `ilm`\ntemplate](https://github.com/talal/ilm/), even if the design decisions may be\nradically different.\n\n\n\n[^1]: The [Hack font](https://github.com/source-foundry/Hack) is currently not\n    available on the Typst web app, so the fallback is Source Code Pro.\n[^2]: If you work at Linköping University, you can set `headings-font:\n    \"KorolevLiU\"` to get a LiU-branded version of this template.\n\n[links]: https://typst.app/docs/reference/model/link/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbollmann%2Ftypst-kunskap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbollmann%2Ftypst-kunskap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbollmann%2Ftypst-kunskap/lists"}