From 42ac891e2860d3ba5286650027cfdcbb00184716 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 11 Dec 2024 14:49:22 -0800 Subject: [PATCH] docs: add bash syntax highlighting to code blocks in docs --- aider/website/_includes/get-started.md | 2 +- aider/website/_includes/replit-pipx.md | 2 +- aider/website/docs/install/install.md | 12 ++++++------ aider/website/docs/install/pipx.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/aider/website/_includes/get-started.md b/aider/website/_includes/get-started.md index 7fabb5cbd..efd0892e8 100644 --- a/aider/website/_includes/get-started.md +++ b/aider/website/_includes/get-started.md @@ -1,7 +1,7 @@ You can get started quickly like this: -``` +```bash python -m pip install -U aider-chat # Change directory into a git repo diff --git a/aider/website/_includes/replit-pipx.md b/aider/website/_includes/replit-pipx.md index 12ca93f11..317489089 100644 --- a/aider/website/_includes/replit-pipx.md +++ b/aider/website/_includes/replit-pipx.md @@ -1,6 +1,6 @@ To use aider with pipx on replit, you can run these commands in the replit shell: -``` +```bash pip install pipx pipx run aider-chat ...normal aider args... ``` diff --git a/aider/website/docs/install/install.md b/aider/website/docs/install/install.md index f2dad3648..56295f8da 100644 --- a/aider/website/docs/install/install.md +++ b/aider/website/docs/install/install.md @@ -33,28 +33,28 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid ## Mac/Linux install -``` +```bash # Install aider python -m pip install -U --upgrade-strategy only-if-needed aider-chat # To work with GPT-4o: -$ aider --4o --openai-api-key sk-xxx... +aider --4o --openai-api-key sk-xxx... # To work with Claude 3.5 Sonnet: -$ aider --sonnet --anthropic-api-key sk-xxx... +aider --sonnet --anthropic-api-key sk-xxx... ``` ## Windows install -``` +```bash # Install aider python -m pip install -U --upgrade-strategy only-if-needed aider-chat # To work with GPT-4o: -$ aider --4o --openai-api-key sk-xxx... +aider --4o --openai-api-key sk-xxx... # To work with Claude 3.5 Sonnet: -$ aider --sonnet --anthropic-api-key sk-xxx... +aider --sonnet --anthropic-api-key sk-xxx... ``` {% include python-m-aider.md %} diff --git a/aider/website/docs/install/pipx.md b/aider/website/docs/install/pipx.md index c61cb824a..4c061530c 100644 --- a/aider/website/docs/install/pipx.md +++ b/aider/website/docs/install/pipx.md @@ -7,7 +7,7 @@ nav_order: 100 A recommended way to install aider is with pipx: -``` +```bash python -m pip install pipx # If you need to install pipx pipx install aider-chat ```