Answer: To add a custom formatter, add a named entry to the formatter configuration in opencode.jsonc; a custom formatter needs both command and extensions to run. Status: Overdue (check was due 2026-11-20T13:36:49Z and has not succeeded) Entry: tool/opencode/settings/custom-formatters Revision: 1 Digest: sha256:c443c0d4b21d0347 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:38Z Last changed: 2026-11-13T03:57:38Z Last verified: 2026-11-19T13:36:49Z Next check: 2026-11-20T13:36:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of custom formatter requirement | A custom formatter needs both command and extensions to run. | [1] | 2026-11-19 command field behavior | Replaces the built-in command or defines a custom command. | [1] | 2026-11-19 extensions field behavior | Replaces the built-in extension list or defines the custom list. | [1] | 2026-11-19 extensions format note | Include the leading dot. | [1] | 2026-11-19 Sources: [1] opencode. "Formatters | OpenCode". https://opencode.ai/docs/formatters/ Role: primary. Accessed: 2026-11-19T13:36:49Z Quote: "A custom formatter needs both command and extensions to run." (Supports: custom formatter requirement) Quote: "Replaces the built-in command or defines a custom command." (Supports: command field behavior) Quote: "Replaces the built-in extension list or defines the custom list." (Supports: extensions field behavior) Quote: "Include the leading dot." (Supports: extensions format note) Snapshot SHA-256: 87d69ffa45a395950097eb206d0628c708f787a24043b6e6c59b2e1029f8984e (captured 2026-11-13T03:57:37Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:57:38Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:49Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:49Z Last attempt: 2026-11-19T13:36:49Z Notes and limitations: Extracted automatically from a single official source (section "Customize"). Related: https://latestn.com/tool/opencode/settings/custom-provider-endpoint How do I configure a custom provider endpoint in opencode? https://latestn.com/tool/opencode/settings/custom-theme-files How do I create a custom theme file for opencode and what format does it use? https://latestn.com/tool/opencode/settings/default-web-port What is the default port for the opencode web server? https://latestn.com/tool/opencode/settings/configure-instructions How do I configure custom instruction files in opencode? https://latestn.com/tool/opencode/settings/configure-proxy How do I configure a proxy for opencode using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY? https://latestn.com/tool/opencode/settings/configure-web-ui How do I configure the opencode web UI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:38Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/custom-formatters/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/settings/custom-formatters POST: https://latestn.com/dispute/tool/opencode/settings/custom-formatters with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/custom-formatters?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add a custom formatter in opencode? Revision 1, last verified 2026-11-19T13:36:49Z. https://latestn.com/tool/opencode/settings/custom-formatters (accessed 2026-11-21T09:50:33Z). @misc{LatestN_tool_opencode_settings_custom_formatters_r1, title = {How do I add a custom formatter in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/custom-formatters}}, note = {Revision 1; digest sha256:c443c0d4b21d0347; last verified 2026-11-19T13:36:49Z; accessed 2026-11-21T09:50:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/settings/custom-formatters