Habe vor Kurzem das Problem gehabt, einen Link mit Underscores auf hive, peakd einzubetten. Das Problem ist, dass Underscores als Markdown-Style verstanden werden und Teile des Links dann kursiv oder fett ausgegeben werden und der Link dann nicht mehr funktioniert.
Hier ist ein Beispiel für einen Social-Media-Link mit Underscores:
https://x.com/_The_Prophet__/status/1992671061989847162
Würde man diesen Link einfach 1:1 in den Markdown-Editor von hive.blog oder peakd.com pasten, würde das Ergebnis wie folgt aussehen:
https://x.com/The_Prophet_/status/1992671061989847162
Nur der erste Teil vor dem Underscore wird verlinkt, danach wechselt der Style zu kursiv und das zerstört den Link und die Einbettung.
Um diesen Link korrekt in Hive (Peakd) einzubetten, muss zumindest der erste Underscore mit einem Backslash '\' maskiert werden, am besten alle Underscores, damit diese nicht als Markdown-Style interpretiert werden.
https://x.com/\_The_Prophet\_\_/status/1992671061989847162
Voilà!
So könnt ihr in Zukunft Links mit Underscores oder Markdown-Zeichen in Hive einbetten.
Was sagt ihr dazu? Habt ihr auch schon einmal ein ähnliches Problem gehabt einen Link mit underscores oder anderen Markdown-Zeichen in Hive einzubetten?
AI-generated illustration (copilot)
English
I recently had a problem embedding a link with underscores on hive, peakd. The problem is that underscores are interpreted as Markdown style, causing parts of the link to be displayed in italics or bold, which then breaks the link.
Here is an example of a social media link with underscores:
https://x.com/_The_Prophet__/status/1992671061989847162
If you simply paste this link 1:1 into the Markdown editor of hive.blog or peakd.com, the result would look like this.
https://x.com/The_Prophet_/status/1992671061989847162
Only the first part before the underscore is linked, after which the style changes to italics, destroying the link and the embedding.
To embed this link correctly in Hive (Peakd), at least the first underscore must be escaped with a backslash '\', preferably all underscores, so that they are not interpreted as Markdown style.
https://x.com/\_The_Prophet\_\_/status/1992671061989847162
Voilà!
This is how you can embed links with underscores or Markdown characters in Hive in the future.
What do you think? Have you ever had a similar problem embedding a link with underscores or other Markdown characters in Hive?