DBuit / sidebar-card

406 stars 39 forks source link

Style per template/<li> list item? #73

Closed Newlance closed 4 months ago

Newlance commented 2 years ago

I would like some of the list items to be bold. I would LOVE to be able to insert a table as a list item. It looks like the only HTML that works is that <li> and </li> tag. I would even settle for being able to add a class or ID in that tag(ie. <li class="bold">)so that I could control the styles individually, but that too seems to break everything. I'm not sure if this is a bug or a feature request, or I'm missing something obvious.

daytonturner commented 2 years ago

Similarly, I am trying to use the templating to display the currently playing song on one of my media players, including the album art thumbnail. Originally I tried including an img tag but the < > characters get urlencoded, therefore dont work.

Any idea on how to accomplish this, perhaps even with the class tag could help (since I will need to apply geometry parameters to the image as well)

Scags104 commented 10 months ago

at the very least i would also love to see that empty tags allow a blank line. or
or something. Currently using <li>.</li> in order to accomplish this and hate seeing the . between each template.