Browse Source

docs: readme

Dax Raad 8 months ago
parent
commit
70dc0a12f2
1 changed files with 6 additions and 3 deletions
  1. 6 3
      README.md

+ 6 - 3
README.md

@@ -65,7 +65,8 @@ If there are additional providers you want to use you can submit a PR to the [Mo
 
 
 Some basic configuration is available in the global config file.
 Some basic configuration is available in the global config file.
 
 
-```toml title="~/.config/opencode/config.toml"
+```toml
+# ~/.config/opencode/config
 theme = "opencode"
 theme = "opencode"
 provider = "anthropic"
 provider = "anthropic"
 model = "claude-sonnet-4-20250514"
 model = "claude-sonnet-4-20250514"
@@ -74,7 +75,8 @@ autoupdate = true
 
 
 You can also extend the models.dev database with your own providers and models by placing a `provider.toml` file in `~/.config/opencode/providers`.
 You can also extend the models.dev database with your own providers and models by placing a `provider.toml` file in `~/.config/opencode/providers`.
 
 
-```toml title="~/.config/opencode/providers/openrouter/provider.toml"
+```toml
+# ~/.config/opencode/providers/openrouter/provider.toml
 [provider]
 [provider]
 name = "OpenRouter"
 name = "OpenRouter"
 env = ["OPENROUTER_API_KEY"]
 env = ["OPENROUTER_API_KEY"]
@@ -84,7 +86,8 @@ npm = "@openrouter/ai-sdk-provider"
 
 
 And models in `~/.config/opencode/providers/openrouter/models/[model-id]`.
 And models in `~/.config/opencode/providers/openrouter/models/[model-id]`.
 
 
-```toml title="~/.config/opencode/providers/openrouter/models/anthropic/claude-3.5-sonnet.toml"
+```toml
+# ~/.config/opencode/providers/openrouter/models/anthropic/claude-3.5-sonnet.toml
 name = "Claude 4 Sonnet"
 name = "Claude 4 Sonnet"
 attachment = true
 attachment = true
 reasoning = false
 reasoning = false