This will be a test post for markdown, as I’m switching to a faster markdown renderer that will allow me to do some cool stuff, like allow expanding images and running my code in markdown.

It might release with v1.31.2.

You are viewing a single thread.
View all comments View context
1 point

Nevermind, this renderer won’t work because there’s no way to disable the autolinking for some reason?

permalink
report
parent
reply
1 point

Autolinking? You should be able to just do a custom renderer for links to do what you need. Unless I’m misunderstanding.

I had to do custom renderers for Links, Code (to integrate highlight.js), spoilers (custom container), and images (to replicate functionality of markdown-it-html5-embed).

https://github.com/asimons04/tesseract/tree/1.4.4/src/lib/components/markdown

permalink
report
parent
reply
2 points

For links like @Xylight@lemdro.id and !photon@lemdro.id it’s automatically changing it to a mailto: link so I can’t run linkify on it.

permalink
report
parent
reply
2 points

I have the /c /u, ! and @ formats working (via pre processing) but without those, yeah, they turn into mailto: links.

Is still on my list of things to double back on.

permalink
report
parent
reply

Would be great of if also does xmpp: links.

permalink
report
parent
reply

Photon

!photon@lemdro.id

Create post

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

Community stats

  • 64

    Monthly active users

  • 53

    Posts

  • 278

    Comments