hohMiyazawa / Automail

An enhancement collection for anilist.co
GNU General Public License v3.0
158 stars 30 forks source link

Pinned activity markdown / styling #285

Open shisuro opened 1 year ago

shisuro commented 1 year ago

The pinned activity is missing a spoiler and newline markdown and text styling. Spoilers in both versions ~!text!~ and <div rel='spoiler'>text</div> don't work. Newline doesn't work when using the Enter Key, <br> markdown is needed instead in which case the text editing is cramped. Using both the Enter Key and <br> markdown makes the text readable when editing again, however, the original activity can render both of these options, thus showing a double newline. Editing: https://i.imgur.com/SvGzda6.png Pinned: https://i.imgur.com/eLWrcCK.png Normal Post: https://i.imgur.com/cdBQGyo.png (opened spoiler) Is there anything that could be done with this or is it too unimportant as of right now?

hohMiyazawa commented 1 year ago

Anilist's own markdown rendered isn't available, so the script uses a stock markdown renderer (showdown), with some extra patches to deal with the more anilist specific stuff. It's only needed in a few places, like pinned posts. So not a huge priority

shisuro commented 1 year ago

Aha is that so? It's not that big of a deal anyway, just a minor inconvenience. Thanks for the reply though.