# Aider chat conversation:
USER: add a table of contents
ASSISTANT: To add a table of contents to the `docs/install.md` file, we need to add a list of links to the headers in the document.
Here is how to do it:
<source>markdown
docs/install.md
<<<<<<< ORIGINAL
# Installing aider
## pip install aider-chat
=======
# Installing aider
- [Installing aider](#installing-aider)
- [pip install aider-chat](#pip-install-aider-chat)
- [Provide your OpenAI API key](#provide-your-openai-api-key)
- [Install git](#install-git)
- [Install universal ctags (optional)](#install-universal-ctags-optional)
- [Add aider to your editor (optional)](#add-aider-to-your-editor-optional)
## pip install aider-chat
>>>>>>> UPDATED
</source>
This change adds a table of contents at the beginning of the document, with links to each of the main sections. The links use the header text, converted to lowercase and with spaces replaced by hyphens, as the target of the link. This is the standard way that markdown generates ids for headers, so these links will jump to the correct section when clicked.
# Aider chat conversation:
USER: add a table of contents
ASSISTANT: To add a table of contents to the `faq.md` file, we need to add a list of links to the sections at the top of the file. Each link should be in the format `[Section Name](#section-name)`, where `Section Name` is the name of the section and `section-name` is the section name in lowercase with spaces replaced by hyphens.
Here is the *edit block* for this change:
<source>markdown
docs/faq.md
<<<<<<< ORIGINAL
# Frequently asked questions
## How does aider use git?
=======
# Frequently asked questions
- [How does aider use git?](#how-does-aider-use-git)
- [GPT-4 vs GPT-3.5](#gpt-4-vs-gpt-35)
- [Aider isn't editing my files?](#aider-isnt-editing-my-files)
- [Can I use aider with other LLMs, local LLMs, etc?](#can-i-use-aider-with-other-llms-local-llms-etc)
- [Can I change the system prompts that aider uses?](#can-i-change-the-system-prompts-that-aider-uses)
- [Can I run aider in Google Colab?](#can-i-run-aider-in-google-colab)
## How does aider use git?
>>>>>>> UPDATED
</source>