# Holen Sie sich Benutzereingaben, in welcher Sprache der vorformatierte Text ist

**URL:** https://meta.discourse.org/t/be-sure-to-get-user-input-on-which-language-the-preformatted-text-is/300449
**Category:** UX
**Created:** [21. März 2024 um 23:04 UTC](https://meta.discourse.org/t/be-sure-to-get-user-input-on-which-language-the-preformatted-text-is/300449 "2024-03-21T23:04:27Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [23. März 2024 um 06:15 UTC](https://meta.discourse.org/t/be-sure-to-get-user-input-on-which-language-the-preformatted-text-is/300449/4 "2024-03-23T06:15:32Z")

</div>

> [@With preformatted text, why are some letters red and numbers blue?](https://meta.discourse.org/t/with-preformatted-text-why-are-some-letters-red-and-numbers-blue/284970/2):
>
> The code block is formatted using the default code lang Site Setting. On meta, we have that set to text. You can override that per block by specifying the language after the initial fence.

Der Dialog fragt den Benutzer nicht, welche Computersprache er verwendet!

> [@Selecting the programming language used in code blocks](https://meta.discourse.org/t/select-the-programming-language-used-in-code-blocks/19247):
>
> bookmark This guide explains how to select the programming language used in code blocks within Discourse posts, along with how to suppress syntax highlighting. person_raising_hand Required user level: All users When you enclose code using triple backticks in your posts, Discourse uses [highlight.js](https://highlightjs.org/) to automatically detect and apply syntax highlighting to the code. However, you can specify the programming language if the autodetection does not work as expected. Specifying the programming…

OK, wenn der Benutzer aus der Symbolleiste Vorformatierter Text auswählt, muss es ein Feld geben, in das der Benutzer die Computersprache des Textes eingeben kann, und auch eine Liste der aktuell gültigen Sprachen, aus denen er wählen kann. Vielleicht ein Radiobutton-Dialog.

Derzeit verwendet der Dialog nur eine “Einheitsgröße für alle”-Auswahl für die Sprache. (Welche ausgewählt wird, wird dem Benutzer auch nicht angezeigt.)

---

_[View the full topic](https://meta.discourse.org/t/be-sure-to-get-user-input-on-which-language-the-preformatted-text-is/300449)._
