{"id":20083663,"url":"https://github.com/marko-js/prettier","last_synced_at":"2026-02-14T06:06:15.163Z","repository":{"id":38189883,"uuid":"401440759","full_name":"marko-js/prettier","owner":"marko-js","description":"A prettier plugin for parsing and printing Marko files.","archived":false,"fork":false,"pushed_at":"2026-02-06T04:09:39.000Z","size":630,"stargazers_count":12,"open_issues_count":4,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-06T13:44:49.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Marko","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/marko-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-30T18:07:02.000Z","updated_at":"2026-02-06T04:08:44.000Z","dependencies_parsed_at":"2024-06-18T20:00:21.995Z","dependency_job_id":"cf6f2da5-9c71-4bbf-95a1-5d664fe572a9","html_url":"https://github.com/marko-js/prettier","commit_stats":{"total_commits":25,"total_committers":3,"mean_commits":8.333333333333334,"dds":0.24,"last_synced_commit":"edbb728af5508857140ad93c6b1166b9e81a6c0c"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/marko-js/prettier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fprettier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fprettier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fprettier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fprettier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marko-js","download_url":"https://codeload.github.com/marko-js/prettier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fprettier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29437338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-13T15:48:21.639Z","updated_at":"2026-02-14T06:06:15.157Z","avatar_url":"https://github.com/marko-js.png","language":"Marko","funding_links":[],"categories":["Marko"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003c!-- Logo --\u003e\n  \u003cbr/\u003e\n  prettier-plugin-marko\n\t\u003cbr/\u003e\n\n  \u003c!-- Language --\u003e\n  \u003ca href=\"http://typescriptlang.org\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%3C%2F%3E-typescript-blue.svg\" alt=\"TypeScript\"/\u003e\n  \u003c/a\u003e\n  \u003c!-- Format --\u003e\n  \u003ca href=\"https://github.com/prettier/prettier\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\" alt=\"Styled with prettier\"/\u003e\n  \u003c/a\u003e\n  \u003c!-- CI --\u003e\n  \u003ca href=\"https://github.com/marko-js/prettier/actions/workflows/ci.yml\"\u003e\n    \u003cimg src=\"https://github.com/marko-js/prettier/actions/workflows/ci.yml/badge.svg\" alt=\"Build status\"/\u003e\n  \u003c/a\u003e\n  \u003c!-- Coverage --\u003e\n  \u003ca href=\"https://codecov.io/gh/marko-js/prettier\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/marko-js/prettier/branch/main/graph/badge.svg?token=v16tZuf0B1\"/\u003e\n  \u003c/a\u003e\n  \u003c!-- NPM Version --\u003e\n  \u003ca href=\"https://npmjs.org/package/prettier-plugin-marko\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/prettier-plugin-marko.svg\" alt=\"NPM Version\"/\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads --\u003e\n  \u003ca href=\"https://npmjs.org/package/prettier-plugin-marko\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/prettier-plugin-marko.svg\" alt=\"Downloads\"/\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003e Note:\n\u003e For prettier@2 or below use `prettier-plugin-marko@2`.\n\nA [Prettier](https://prettier.io/) plugin for parsing and printing Marko files.\n\n# Installation\n\n### npm\n\n```console\nnpm install prettier prettier-plugin-marko -D\n```\n\n# Usage\n\nSee the Prettier [\"using plugins\"](https://prettier.io/docs/plugins#using-plugins) guide.\n\n```console\nnpm exec -- prettier --write \"**/*.marko\" --plugin=prettier-plugin-marko\n```\n\nOr via [prettier configuration](https://prettier.io/docs/configuration) like:\n\n```json\n{\n  \"plugins\": [\"prettier-plugin-marko\"]\n}\n```\n\n## Editors\n\nEditors such as [VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) provide plugins for calling [Prettier](https://prettier.io/) directly from your editor.\n\n# Options\n\nOn top of [Prettier's options](https://prettier.io/docs/en/options.html), there are a few additional options picked up by this plugin.\n\n## `markoSyntax: \"auto\" | \"html\" | \"concise\"`\n\nMarko supports both an [html like](https://markojs.com/docs/syntax/) and [concise](https://markojs.com/docs/concise/) syntaxes.\nBy default this plugin will try to detect the syntax you are already using and output a formatted document in that syntax.\n\nYou can overide the default (`\"auto\"`) to enforce that all templates are formatted to the syntax of your choosing.\n\n# Code of Conduct\n\nThis project adheres to the [eBay Code of Conduct](./.github/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko-js%2Fprettier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarko-js%2Fprettier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko-js%2Fprettier/lists"}