Skip to main content
  1. Blogs/

How to Copy GitHub Copilot Chat Content as Markdown

·233 words·
Memo
hiroki
Author
hiroki
Table of Contents

Introduction
#

How to copy GitHub Copilot chat content and save it in Markdown format.

1. The Problem
#

When you select and copy the saved text, it becomes plain text.

Chat content to be copied

alt text

Content copied by selection

Heading information # and code block \connect information are lost, resulting in plain text.

To select a database in PostgreSQL, you need to connect to the desired database using the psql command-line tool. Here are the steps to do this:

1. Connect to PostgreSQL
First, connect to the PostgreSQL server. If you are already connected to a database, you can switch to another database using the \c (or \connect) command.

2. Solution
#

By using the Copy option in the right-click menu, you can copy the content in Markdown format.

Chat content to be copied

alt text

Using Copy All will also copy the entire chat history.

Content copied using the right-click menu

To select a database in PostgreSQL, you need to connect to the desired database using the `psql` command-line tool. Here are the steps to do this:

### 1. Connect to PostgreSQL

First, connect to the PostgreSQL server. If you are already connected to a database, you can switch to another database using the `\c` (or `\connect`) command.

```bash

psql -U <username> -h <hostname> -p <port>

︙

Conclusion
#

It was so simple, but it took me about six months to realize it…

Related

NFS storage capacity dosen't work in kubernetes
·562 words
Memo Kubernetes
How to register Elastic Agent outside of ECK
·831 words
Blog ElasticSearch