Medium Code Block Formatter
This tool formats your code into Medium-compatible code blocks, breaking lines at 45 characters for better readability.
How to use:
- Paste your code into the text area below.
- Click the “Format for Medium” button.
- Copy the formatted output and paste it directly into your Medium article.