this post was submitted on 07 Jul 2024
48 points (80.8% liked)

Programming

17326 readers
237 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

It must be a pain to make a text box with the ability to add bold, italic, heading, etc. you know? All the bold text, italics, and headings would need to be saved in a database column to be retrieved later in their correct positions.

I don't know, I am doing internship learning C# ASP (started 2 months ago), and just got a "Shower Thought" while making an edit post function.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] tunetardis@lemmy.ca 8 points 4 months ago (1 children)

You mean like the comment fields we're using right here on lemmy?

As others have pointed out, it's usually some markdown that's embedded within the text. Lemmy is using a format that's actually called "markdown" if I'm not mistaken, or a slight variation/subset thereof.

I've gotten used to the double-star for bold and what not to the point that it annoys me when some message client or whatever doesn't support it. I share code snippets with people fairly often, and the code markdown is particularly useful to maintain its legibility.

[โ€“] Feathercrown@lemmy.world 9 points 4 months ago* (last edited 4 months ago)

If you're looking for the general word, it's "markup". See also Hypertext Markup Language. But yes, Lemmy uses Markdown specifically.

And yeah, at this point Markdown is just the standard for rich text. I think it's a pretty solid subset of functionality to use everywhere.