{"id":43253487,"url":"https://github.com/leovan/quarto-style-text","last_synced_at":"2026-02-01T13:16:19.782Z","repository":{"id":224568744,"uuid":"763548180","full_name":"leovan/quarto-style-text","owner":"leovan","description":"Quarto Style Text Extension","archived":false,"fork":false,"pushed_at":"2025-08-02T14:15:43.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T16:24:11.028Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leovan.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,"zenodo":null}},"created_at":"2024-02-26T13:59:22.000Z","updated_at":"2025-08-02T14:15:46.000Z","dependencies_parsed_at":"2024-02-26T17:29:13.972Z","dependency_job_id":"00a96a47-1a09-4421-b0d2-6279df95da0e","html_url":"https://github.com/leovan/quarto-style-text","commit_stats":null,"previous_names":["leovan/quarto-style-text"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/leovan/quarto-style-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovan%2Fquarto-style-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovan%2Fquarto-style-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovan%2Fquarto-style-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovan%2Fquarto-style-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leovan","download_url":"https://codeload.github.com/leovan/quarto-style-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovan%2Fquarto-style-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28978967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T12:13:08.691Z","status":"ssl_error","status_checked_at":"2026-02-01T12:13:08.356Z","response_time":56,"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":[],"created_at":"2026-02-01T13:16:18.935Z","updated_at":"2026-02-01T13:16:19.769Z","avatar_url":"https://github.com/leovan.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quarto Style Text Extension\n\n![Release](https://img.shields.io/github/release/leovan/quarto-style-text.svg)\n![License](https://img.shields.io/github/license/leovan/quarto-style-text.svg)\n![Issues](https://img.shields.io/github/issues/leovan/quarto-style-text.svg)\n\n---\n\n🇺🇸 [README](README.md) | 🇨🇳 [中文说明](README.zh.md)\n\nA Quarto extension to render style text for `html` and `pdf` document. It's based on [Divs and Spans](https://quarto.org/docs/authoring/markdown-basics.html#sec-divs-and-spans) with `.style-text` class.\n\n\u003e [!CAUTION]\n\u003e `pdflatex` PDF engine is not supported.\n\n## Installing\n\n```bash\nquarto add leovan/quarto-style-text\n```\n\nThis will install the extension under the `_extensions` subdirectory. If you're using version control, you will want to check in this directory.\n\n## Using\n\nPut this in the header of your document, or in the `_quarto.yml` file.\n\n```yml\nfilters:\n  - style-text\n```\n\nParameters for this extension are listed as below:\n\n| Parameter                   | Default | Options                                         | Format | Description                     |\n| --------------------------- | ------- | ----------------------------------------------- | ------ | ------------------------------- |\n| `color`                     |         |                                                 | All    | Text color.                     |\n| `opacity`                   | 1       |                                                 | All    | Text opacity.                   |\n| `font`                      |         |                                                 | All    | Text font.                      |\n| `font-size`                 | 1       |                                                 | All    | Text font size.                 |\n| `font-weight`               | normal  | normal\u003cbr/\u003emiddle\u003cbr/\u003ebold                      | All    | Text font weight.               |\n| `font-style`                | normal  | normal\u003cbr/\u003eitalic                               | All    | Text font style.                |\n| `box-background-color`      |         |                                                 | All    | Box background color.           |\n| `box-background-opacity`    | 1       |                                                 | All    | Box background opacity.         |\n| `box-border-color`          |         |                                                 | All    | Box border color.               |\n| `box-border-opacity`        | 1       |                                                 | All    | Box border opacity.             |\n| `box-border-style`          | solid   | solid\u003cbr/\u003edashed\u003cbr/\u003edotted                     | All    | Box border line style.          |\n| `box-border-width`          | 0       |                                                 | All    | Box border line width.          |\n| `box-padding`               | 0       |                                                 | All    | Box padding.                    |\n| `box-padding-top`           | 0       |                                                 | All    | Box top padding.                |\n| `box-padding-right`         | 0       |                                                 | All    | Box right padding.              |\n| `box-padding-bottom`        | 0       |                                                 | All    | Box bottom padding.             |\n| `box-padding-left`          | 0       |                                                 | All    | Box left padding.               |\n| `box-radius`                | 0       |                                                 | All    | Box radius.                     |\n| `box-radius-top-left`       | 0       |                                                 | `html` | Box top left radius.            |\n| `box-radius-top-right`      | 0       |                                                 | `html` | Box top right radius.           |\n| `box-radius-bottom-right`   | 0       |                                                 | `html` | Box bottom right radius.        |\n| `box-radius-bottom-left`    | 0       |                                                 | `html` | Box bottom left radius.         |\n| `box-shadow-color`          |         |                                                 | All    | Box shadow color.               |\n| `box-shadow-opacity`        | 1       |                                                 | All    | Box shadow opacity.             |\n| `box-shadow-x-offset`       | 0       |                                                 | All    | Box shadow horizontal offset.   |\n| `box-shadow-y-offset`       | 0       |                                                 | All    | Box shadow vertical offset.     |\n| `box-shadow-blur-radius`    | 0       |                                                 | All    | Box shadow blur radius.         |\n| `box-shadow-spread-radius`  | 0       |                                                 | `html` | Box shadow spread radius.       |\n| `text-decoration-line`      |         | underline\u003cbr/\u003eline-through                      | All    | Text decoration line type.      |\n| `text-decoration-style`     | solid   | solid\u003cbr/\u003edashed\u003cbr/\u003edotted\u003cbr/\u003edouble\u003cbr/\u003ewavy | All    | Text decoration line style.     |\n| `text-decoration-color`     |         |                                                 | `html` | Text decoration line color.     |\n| `text-decoration-thinkness` |         |                                                 | `html` | Text decoration line thinkness. |\n| `text-shadow-color`         |         |                                                 | All    | Text shadow color.              |\n| `text-shadow-opacity`       | 1       |                                                 | All    | Text shadow opacity.            |\n| `text-shadow-x-offset`      | 0       |                                                 | All    | Text shadow horizontal offset.  |\n| `text-shadow-y-offset`      | 0       |                                                 | All    | Text shadow vertical offset.    |\n| `text-shadow-blur-radius`   | 0       |                                                 | `html`   | Text shadow blur radius.        |\n\n\u003e [!TIP]\n\u003e Dynamic parameter value is supported, for more details see example.\n\n\u003e [!NOTE]\n\u003e\n\u003e 1. `em` is used as unit for all length, width and size.\n\u003e 2. Color values should be in Hex format.\n\u003e 3. Opacity values should be between 0 and 1.\n\u003e 4. All decimal values should keep two decimal places at most.\n\n## Example\n\nHere is the source code for a minimal example: [example.qmd](example.qmd).\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2024-2025 [范叶亮 | Leo Van](https://leovan.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleovan%2Fquarto-style-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleovan%2Fquarto-style-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleovan%2Fquarto-style-text/lists"}