Skip to content

Instantly share code, notes, and snippets.

View 13rac1's full-sized avatar
🎱
The S in IoT stands for security

Bradley Erickson 13rac1

🎱
The S in IoT stands for security
View GitHub Profile
@13rac1
13rac1 / exporter-markdown.js
Last active September 11, 2025 16:18
ChatGPT to Markdown with Tables and Lists - 1. Open a conversation in ChatGPT 2. Open DevTools → Console 3. Paste contents of exporter-markdown.js 4. Hit Enter — file will download. Quick fork of https://github.com/rashidazarang/chatgpt-chat-exporter to add tables/lists
(() => {
function formatDate(date = new Date()) {
return date.toISOString().split('T')[0];
}
function cleanMarkdown(text) {
return text
// Only escape backslashes that aren't already escaping something
.replace(/\\(?![\*_`])/g, '\\\\')
// Clean up excessive newlines