Skip to content

Instantly share code, notes, and snippets.

@Evitonative
Evitonative / translate.py
Created May 4, 2025 17:57
partial mkvtoolnix to ffmpeg conversion script
from collections import defaultdict
from typing import Any
from babel import Locale
import pycountry
import sys
def to_iso_639_2t_locale(locale_code) -> str | None:
try:
loc = Locale.parse(locale_code, sep='-')
@Evitonative
Evitonative / A Guide to Discord's Formatting.md
Last active November 17, 2024 19:34
A (hopefully) complete guide to discord markdown implementation for formatting your messages.

Discord Formatting

This is a guide to all the formatting you can do on Discord, going from basic to more advanced. You can often combine different aspects of what is shown below. Given it would be awfully complex to list all combinations, I did not include them here, but feel free to play arround a bit in a private channel. If you have any questions or something is left unclear, feel free to leave a comment.

Also remember this guide only focuses on the markdown capabilities inside regular messages. While markdown in embeds should be the same I can't guarantee that it is. I will not help with any embed issues. If you want to learn more, have a look at the Discord Developer Documentation.

Keep in mind that this guide is specific to Discord markdown. Other markdown implementations my vary in syntax.

Basic Text Formatting

  • *Italic Text*Italic Text
  • **Bold Text**Bold Text