this post was submitted on 07 Aug 2026
3 points (100.0% liked)

Photon

1405 readers
3 users here now

Photon for Lemmy

A client for the fediverse that is fast, modern, and intuitive.

This community is a place to ask questions, report bugs, check on the latest updates, or share your experiences with Photon!

You can contact me at @Xylight@lemdro.id.

You can support development at Buy me a coffee

Links

Rules

  1. Posts must be related to Photon (in any way)
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 2 years ago
MODERATORS
3
submitted 2 days ago* (last edited 2 days ago) by breakfastmtn@lemmy.ca to c/photon
 

Photon doesn't seem to support any of the common methods for a line break in markdown. Both "trailing whitespace" (2+ spaces at the end of a line) and "backslash" methods render the lines side-by-side without a space. <br> does render the text on separate lines but also renders the tag in the post.

Trailing whitespace seems to be the de facto standard in the Threadiverse. It works everywhere that I've checked (except photon and tesseract), whereas some clients just render the backslash in the second method. Oddly, photon doesn't display the backslash but also doesn't render a line break.

Would it be possible to support at least trailing whitespace in photon? Or, alternatively, I suppose someone could tell me the dumb thing I'm doing wrong in my posts. Thanks!

top 1 comments
sorted by: hot top controversial new old
[–] Xylight 2 points 1 day ago

I never knew it was even possible to do line breaks in markdown any other way than double newline. Photon uses marked to parse markdown, I might just need to enable something in there.