this post was submitted on 27 Sep 2024
642 points (84.3% liked)

Showerthoughts

29851 readers
1055 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    • 3.1) NEW RULE as of 5 Nov 2024, trying it out
    • 3.2) Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    • 3.3) Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 0ops@lemm.ee 1 points 2 months ago (1 children)

These?. Yup, wrap text in these for code formatting -> `

You can also
Do multiple
Lines
By wrapping with three of those  consecutively

Like this -> ```

[–] Cryophilia@lemmy.world 1 points 2 months ago (1 children)

No I mean why are some of your words different colors

[–] 0ops@lemm.ee 2 points 2 months ago (1 children)

That's just how your client formats code blocks. I'm using Connect and inline code blocks have red text

[–] Cryophilia@lemmy.world 1 points 2 months ago (1 children)
[–] 0ops@lemm.ee 2 points 2 months ago (1 children)

K, so the web client. I just checked out the website and it looks like it's coloring words that tend to be common tokens in programming languages, like "if" and "with". That wasn't me applying the colors, that was your client, I just wrapped text in " ` " or " ``` “. The actual comment is just Markdown formatting

[–] Cryophilia@lemmy.world 1 points 2 months ago

Ohhhh that makes sense. Programming words. Thanks, I didn't register it