kbinStyles

Userscript that fixes code blocks federated from Lemmy

https://greasyfork.org/en/scripts/479871-fix-kbin-code-blocks

Lemmy federates code blocks with additional <span> tags added in on each line which /kbin just treats as plaintext (it should really strip them out or treat them as tags, not plaintext).

See this comment for an example

This userscript for kbin.social tries to remove those tags and make Lemmy code blocks actually readable.

Edit: Latest version supports infinite comments and turbo mode.

2
5
Comments 5