this post was submitted on 27 Mar 2022
0 points (NaN% liked)

Lemmy

12441 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

Since Lemmy uses Markdown that supports HTML; it is possible to use Scalable Vector Graphics (with the <svg> tag).

It is possible to import SVG art on Lemmy, which isn't possible on Reddit.


As an example, here is a flag I made.

  • Yellow background represents liberty.
  • The magnifying glass is a symbol for information. It is horizontally aligned to represent the lack of bias.
  • The horns represent the idea of copyleft, supported by GNU.</dc:description> dc:subject rdf:Bag rdf:liinformation</rdf:li> rdf:lifree</rdf:li> rdf:lilibre</rdf:li> rdf:lignu</rdf:li> </rdf:Bag> </dc:subject> </cc:Work> <cc:License rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"> <cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/> <cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/> <cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/> </cc:License> </rdf:RDF>

(The code can be previewed through an HTML viewer.)

scour may be needed to get the SVG art to work.

top 3 comments
sorted by: hot top controversial new old
[–] azron@lemmy.ml 0 points 2 years ago (1 children)

Thank you for the tip!

Side note, doesn't appear to work on mobile.

[–] xarvos@lemmy.ml 0 points 2 years ago (1 children)

i'm on mobile and see the svg just fine

[–] nachtigall@feddit.de -1 points 2 years ago

Probably on the app. I am using Jerboa and it is not displayed.