Skip to content

VS Code extension that alters how your code is displayed without modifying the source code.

License

Notifications You must be signed in to change notification settings

DrBoria/md-prettify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e60e0a2 · Apr 13, 2025

History

20 Commits
Apr 8, 2025
Apr 13, 2025
Apr 8, 2025
Apr 13, 2025
Apr 8, 2025
Apr 12, 2025
Apr 8, 2025
Apr 8, 2025
Apr 8, 2025
Apr 13, 2025
Apr 8, 2025
Apr 13, 2025
Apr 8, 2025
Apr 8, 2025

Repository files navigation

MD Prettify: Turn Your Crappy Code into a Daily Delight! 🎉

Based on prettify-symbols-mode

Sick of staring at the steaming pile of garbage that is your "favorite" project's code? Can’t get your team to agree on whether to use !! or Boolean()? Tired of endless arguments over code style?

Say hello to MD Prettify—the extension that slaps a shiny new coat of paint on your source code without ever touching the actual mess underneath! 🎨✨

Download MD Prettify

How Does This Magic Trick Work? 🪄

MD Prettify is your escape hatch from the chaos of ugly code and petty debates. It’s a Visual Studio Code extension that lets you prettify your source code—visually transforming it into something cleaner and more stylish—without changing a single character of the actual file. Think of it as a makeover for your codebase: all the glamour, none of the refactoring drama.

Settings

Commands

The following commands are available for keybinding:

  • mdPrettify.enablePrettySymbols: Flip the magic ON globally.
  • mdPrettify.disablePrettySymbols: Kill the vibe (why tho?).
  • mdPrettify.togglePrettySymbols: Switch it up whenever you feel like it!

Reveal On

By default, "ugly" text lights up when contacted by a cursor. Customize it with mdPrettify.revealOn globally or per-language with a revealOn setting in the language entry. Here’s the lineup:

  • cursor: Symbols shine when your cursor grazes them (default).
  • cursor-inside: Glows when your cursor’s chilling inside the symbol.
  • active-line: Every symbol on the cursor’s line gets the spotlight.
  • selection: Symbols dazzle when selected or cursor-touched.
  • none: Keep it stealth—no reveal, just raw code vibes.

Configuration Examples

Explore pre-configured substitution settings for various languages in the examples/ directory:

Predefined Config

use mdPrettify.predefinedConfig: "value" to activate predefined config

  • typescript-to-python — Make TypeScript strut like Python. 🐍
  • typescript-to-trumpscript — Turn TypeScript into bold TrumpScript swagger. 🦁
  • typescript-to-yoptascript — Flip TypeScript to quirky YoptaScript chaos. 😎
  • typescript-to-lotrscript — Flip TypeScript to middle age with LOTRScript. 😎

Example Video

Feel free to contribute your own configurations for other languages!

Custom Config

Complete guide, how to Build Your Custom Config

Support Me:

If you find this extension useful, please consider donating to support its development:

Buy Me A Coffee

Donate with Ethereum

About

VS Code extension that alters how your code is displayed without modifying the source code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published