AI Workshop: learn to build apps with AI →
Tools Tips: Pasting code snippets in Discord

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


If you want to paste a code snippet in Discord, or in any other application that supports markdown, use code snippets.

Say you want to paste some lines of JS code.

Pasting directly will look like this:

You can wrap the code in triple backticks, starting and ending with ```

and it will look better:

Even better is to use triple backticks followed by a language tag, like ```js, because then the code will be syntax-highlighted and will look much better—and it’s easier to visually parse.

Lessons in this unit:

0: Introduction
1: How to fix the ffmpeg not found error with youtube-dl
2: How to set up hot reload on Electron
3: How to disable 1Password in an input field
4: How to recover lost data from an SD card
5: ▶︎ Pasting code snippets in Discord
6: Remove EXIF data from images
7: Searching for the perfect e-ink writing device
8: Syntax highlight any block on a Web Page
9: What is a webhook?
10: What's the best platform to deploy your projects?
11: Scraping with Puppeteer
12: Why use a preview version of a browser?
13: A practical guide to Homebrew
14: How to fix the xcrun invalid active developer path error in macOS