MCPcopy
hub / github.com/gencay/vscode-chatgpt / exportConversation

Function exportConversation

media/main.js:181–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 };
180
181 const exportConversation = () => {
182 const turndownService = new TurndownService();
183 turndownService.remove('no-export');
184 let markdown = turndownService.turndown(document.getElementById("qa-list"));
185
186 vscode.postMessage({
187 type: "openNew",
188 value: markdown,
189 language: "markdown"
190 });
191 };
192
193 document.getElementById('question-input').addEventListener("keydown", function (event) {
194 if (event.key == "Enter" && !event.shiftKey) {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected