Tools Tips: Pasting code snippets in Discord

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


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, start and end ```

and it will look better:

even better is to use triple backticks followed by language tag, like ```js because now code will be color highlighted, and it 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