-
Notifications
You must be signed in to change notification settings - Fork 16
Discord Formatting #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+158
−3
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
911ee28
Discord Formatting
Fatih5252 684aea0
Picture update
Fatih5252 873f058
Fixed underline test
Fatih5252 6c59311
Some fixes and added new screenshots
Fatih5252 6a271d7
A change
Fatih5252 942e424
Some changes
Fatih5252 87b1712
Some massive changes
Fatih5252 6afbcd0
Picture fixture
Fatih5252 6faa1f0
final update hopefully
Fatih5252 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,81 @@ | ||
| # Discord Formatting | ||
|
|
||
| --- | ||
| Discord also offers various formatting options to enhance your messages. These tools allow you to structure text, highlight important information, and improve overall readability. Here's an overview of the most commonly used formatting styles and how you can use them effectively in your messages. | ||
|
|
||
| <center><h1>Coming soon</h1></center> | ||
| <center>We're still working on adding this documentation file - please check back later or raise a PR.</center> | ||
| ## Text Formatting | ||
|
|
||
| These formatting options represent different styles for messages that you can use in Discord to improve readability and structure. Discord message formatting allows you to emphasize important information, highlight key points, and organize text more effectively. By using these basic message styles, you can make your messages easier to understand, more visually appealing, and more engaging for other users. The following section provides an overview of the most commonly used formatting styles available in Discord. | ||
|
|
||
| | Style | Syntax | Result | | ||
| | :--- | :--- | :--- | | ||
| | **Italic** | `*Text*` or `_Text_` | *Text* | | ||
| | **Bold** | `**Text**` | **Text** | | ||
| | **Bold Italic** | `***Text***` | ***Text*** | | ||
| | **Underline** | `__Text__` | T͟e͟x͟t | | ||
| | **Strikethrough** | `~~Text~~` | ~~Text~~ | | ||
| | **Spoiler** | See screenshot | See screenshot | | ||
|
|
||
|  | ||
|
|
||
| ## Headings & Structure | ||
| With these formatting options, you can change the size of the text, making it easier to structure and organize your messages. Adjusting text size helps highlight important information, improve readability, and create clear visual hierarchies within your messages. | ||
|
|
||
| Important: There must be a space after the `#` or `-#` characters for the formatting to work correctly. | ||
|
|
||
| ``` | ||
| # Heading 1 (Large) | ||
| ## Heading 2 (Medium) | ||
| ### Heading 3 (Small) | ||
SCDerox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| -# Small Text | ||
| ``` | ||
|
|
||
|  | ||
|
|
||
| ## Lists & Quotes | ||
| With these formatting options, you can structure your text using lists or quotes, making your messages clearer and easier to read. Lists help organize information into concise points, while quotes are useful for highlighting references, replies, or important statements. There are many different ways to create lists and quote text, allowing you to format your messages in a clear and well-structured manner. | ||
|
|
||
| * **Bullet lists:** | ||
| - `- Item 1` | ||
| * `* Item 2` | ||
| * **Numbered lists:** | ||
| - `1. First item` | ||
| - `2. Second item` | ||
| * **Quotes:** | ||
| - `> Single-line quote` | ||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - ``` | ||
| >>> Multi-line quote | ||
| Ah yes multiple lines | ||
| ``` | ||
|
|
||
|  | ||
SCDerox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ## Links & Code | ||
| With these formatting options, you can change the behavior and appearance of a message. They allow you to control how a message looks and how it is perceived, helping you emphasize actions, highlight important content, and improve overall readability. | ||
|
|
||
| * **Masked links:** `[Google](https://www.google.com)` | ||
| * **Inline code:** `` `command` `` | ||
| * **Code block:** | ||
| ``` | ||
| ```js | ||
| console.log("Code block") | ||
| ``` | ||
| ``` | ||
|
|
||
| When using code blocks, it is possible to specify the programming language used for syntax highlighting. In this code block, we use JavaScript (hence the `js` in the first line). You can also specify other programming languages by simply replacing `js` with the desired language (e.g. `py` for Python, `html` for HyperText Markup Language, etc.). | ||
|
|
||
|  | ||
|
|
||
| ## Timestamps | ||
| Dynamic timestamps in Discord allow you to display times and dates that automatically adapt to the user’s time zone, making messages more informative and context-aware. These timestamps are especially useful for events, deadlines, reminders, or any message where the timing needs to be clear for users across different regions. By using dynamic timestamps, you can improve clarity and engagement in your Discord server. | ||
|
|
||
| Timestamps use **UNIX time**, which is a system that counts the number of seconds that have elapsed since **January 1, 1970 at 00:00:00 UTC** (also known as the Unix epoch). UNIX time is widely used in programming, databases, APIs, and server logs because it provides a simple, consistent, and timezone-independent way to represent points in time. | ||
|
|
||
| ### Examples of Discord Timestamp Formatting: | ||
| * `<t:1737835851:t>` → Time (short format) | ||
| * `<t:1737835851:D>` → Date (long format) | ||
| * `<t:1737835851:R>` → Relative time (e.g., “5 minutes ago”) | ||
|
|
||
| You can customize and generate timestamps exactly how you want using the [Discord Timestamp Generator](https://scnx.app/user/tools?page=timestamp-generator). | ||
|
|
||
|  | ||
80 changes: 80 additions & 0 deletions
80
i18n/de/docusaurus-plugin-content-docs/current/discord-formatting.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # Discord Formatierung | ||
|
|
||
| Discord bietet außerdem verschiedene Formatierungsoptionen, um deine Nachrichten übersichtlicher und ansprechender zu gestalten. Mit diesen Funktionen kannst du Texte strukturieren, wichtige Informationen hervorheben und die Lesbarkeit insgesamt verbessern. Hier ist eine Übersicht der am häufigsten verwendeten Formatierungsstile und wie du sie effektiv einsetzen kannst. | ||
|
|
||
| ## Textformatierung | ||
| Diese Formatierungsoptionen stellen verschiedene Stile für Nachrichten dar, die du in Discord verwenden kannst, um die Lesbarkeit und Struktur deiner Texte zu verbessern. Mit der Discord-Nachrichtenformatierung lassen sich wichtige Informationen hervorheben, Inhalte übersichtlich gliedern und Nachrichten optisch ansprechender gestalten. Durch die Nutzung dieser grundlegenden Nachrichtenstile werden Texte klarer, verständlicher und insgesamt angenehmer für andere Nutzer zu lesen. Im folgenden Abschnitt findest du eine Übersicht der am häufigsten verwendeten Formatierungsstile in Discord. | ||
|
|
||
| | Stil | Syntax | Ergebnis | | ||
| | :--- | :--- | :--- | | ||
| | **Kursiv** | `*Text*` oder `_Text_` | *Text* | | ||
| | **Fett** | `**Text**` | **Text** | | ||
| | **Fett & kursiv** | `***Text***` | ***Text*** | | ||
| | **Unterstrichen** | `__Text__` | T͟e͟x͟t | | ||
| | **Durchgestrichen** | `~~Text~~` | ~~Text~~ | | ||
| | **Spoiler** | Siehe Screenshot | Siehe Screenshot | | ||
|
|
||
|  | ||
SCDerox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ## Überschriften & Struktur | ||
| Mit diesen Formatierungsoptionen kannst du die Größe des Textes ändern, wodurch sich deine Nachrichten besser strukturieren und übersichtlicher gestalten lassen. Unterschiedliche Textgrößen helfen dabei, wichtige Informationen hervorzuheben, die Lesbarkeit zu verbessern und eine klare visuelle Hierarchie innerhalb einer Nachricht zu schaffen. | ||
|
|
||
| Wichtig: Nach den Zeichen `#` oder `-#` muss immer ein Leerzeichen folgen, damit die Formatierung korrekt funktioniert. | ||
|
|
||
| ``` | ||
| # Überschrift 1 (Groß) | ||
| ## Überschrift 2 (Mittel) | ||
| ### Überschrift 3 (Klein) | ||
| -# Kleiner Text | ||
| ``` | ||
|
|
||
|  | ||
|
|
||
| ## Listen & Zitate | ||
| Mit diesen Formatierungsoptionen kannst du deinen Text mithilfe von Listen oder Zitaten strukturieren, wodurch Nachrichten übersichtlicher und leichter verständlich werden. Listen eignen sich ideal, um Informationen klar zu gliedern, während Zitate verwendet werden können, um Aussagen hervorzuheben, auf andere Nachrichten zu reagieren oder Inhalte zu referenzieren. Es gibt viele verschiedene Möglichkeiten, Texte als Liste oder Zitat darzustellen, sodass du deine Nachrichten flexibel und strukturiert formatieren kannst. | ||
|
|
||
| * **Aufzählungen:** | ||
| - `- Punkt 1` | ||
| * `* Punkt 2` | ||
| * **Nummerierte Listen:** | ||
| - `1. Erster Punkt` | ||
| - `2. Zweiter Punkt` | ||
SCDerox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| * **Zitate:** | ||
| - `> Einzeiliges Zitat` | ||
| - ``` | ||
| >>> Mehrzeiliges Zitat | ||
| Mehr Zeilen | ||
| ``` | ||
|
|
||
|  | ||
SCDerox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ## Links & Code | ||
| Mit diesen Formatierungsoptionen kannst du das Verhalten und das Erscheinungsbild einer Nachricht verändern. Sie ermöglichen es, hervorzuheben, wie eine Nachricht aussieht und wahrgenommen wird, um Aktionen zu betonen, wichtige Inhalte hervorzuheben und die allgemeine Lesbarkeit zu verbessern. | ||
|
|
||
| * **Maskierte Links:** `[Google](https://www.google.com)` | ||
| * **Inline-Code:** `` `Befehl` `` | ||
| * **Codeblock:** | ||
| ``` | ||
| ```js | ||
| console.log("Mehrzeiliger Code oder Text") | ||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ``` | ||
| ``` | ||
|
|
||
| Beim Verwenden von Codeblöcken ist es möglich, die verwendete Programmiersprache für die Syntaxhervorhebung anzugeben. In diesem Codeblock verwenden wir JavaScript (daher das `js` in der ersten Zeile). Du kannst auch andere Programmiersprachen angeben: Ersetze dazu einfach `js` durch die gewünschte Sprache (z. B. `py` für Python, `html` für die Hypertext Markup Sprache usw.). | ||
|
|
||
|  | ||
|
|
||
| ## Timestamps | ||
| Dynamische Timestamps in Discord ermöglichen es, Zeiten und Daten anzuzeigen, die sich automatisch an die Zeitzone des Nutzers anpassen. So werden Nachrichten für alle Beteiligten verständlicher und kontextbezogener. Diese Timestamps sind besonders nützlich für Events, Deadlines, Erinnerungen oder jede Nachricht, bei der die genaue Zeit für Nutzer in verschiedenen Regionen klar sein muss. Durch die Verwendung dynamischer Timestamps wird die Übersichtlichkeit erhöht und die Interaktion auf deinem Discord-Server verbessert. | ||
|
|
||
| Timestamps verwenden die **UNIX-Zeit**, ein System, das die Anzahl der Sekunden seit dem **1. Januar 1970 um 00:00:00 UTC** (bekannt als Unix-Epoche) zählt. UNIX-Zeit wird häufig in der Programmierung, in Datenbanken, APIs und Server-Logs verwendet, da sie eine einfache, konsistente und zeitzonenunabhängige Möglichkeit bietet, Zeitpunkte darzustellen. | ||
|
|
||
| ### Beispiele für Discord-Timestamp-Formate: | ||
| * `<t:1737835851:t>` → Zeit (kurzes Format) | ||
| * `<t:1737835851:D>` → Datum (langes Format) | ||
| * `<t:1737835851:R>` → Relative Zeit (z. B. „vor 5 Minuten“) | ||
|
|
||
| Du kannst Timestamps genau nach deinen Wünschen erstellen und anpassen mit dem [Discord Timestamp Generator](https://scnx.app/user/tools?page=timestamp-generator). | ||
|
|
||
|  | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.