Merge branch 'main' into languages-switch

This commit is contained in:
Paul Gauthier 2023-08-14 15:07:11 -03:00
commit 46e72001b0
2 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@ Aider is unique in that it [works well with pre-existing, larger codebases](http
- [Installation](https://aider.chat/docs/install.html)
- [Voice-to-code](https://aider.chat/docs/voice.html)
- [FAQ](https://aider.chat/docs/faq.html)
- [Discord](https://discord.gg/Tv2uQnR88V)
## Getting started

View file

@ -6,8 +6,7 @@ created using <a href="https://aider.chat">aider</a>.
Aider is a command line tool that lets you pair program with GPT-3.5 or
GPT-4, to edit code stored in your local git repository.
## Shared chat transcript
The transcript is based on <a id="mdurl" href="">this chat transcript data</a>.
<div class="chat-transcript" id="shared-transcript">
</div>
@ -42,6 +41,7 @@ window.onload = function() {
if (!conv) {
return;
}
document.getElementById('mdurl').href = conv;
// Check if the URL is a non-raw GitHub gist
var gistRegex = /^https:\/\/gist\.github\.com\/([^\/]+)\/([a-f0-9]+)$/;
var match = gistRegex.exec(conv);