client icon indicating copy to clipboard operation
client copied to clipboard

[1.9] Backtick languge support

Open showierdata9978 opened this issue 2 years ago • 9 comments

Markdown language support Describe alternatives you've considered Just pasting code

Additional context Less spammy if there is syntax highlighting

showierdata9978 avatar Dec 14 '23 23:12 showierdata9978

The obvious choice here would be highlight.js :)

ajskateboarder avatar Dec 20 '23 13:12 ajskateboarder

yep!

On Wed, Dec 20, 2023, 7:08 AM Aditya J @.***> wrote:

The obvious choice here would be highlight.js https://highlightjs.org/ :)

— Reply to this email directly, view it on GitHub https://github.com/meower-media-co/Meower-Svelte/issues/201#issuecomment-1864446406, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHW4P5ZAQOBMDITEVUHOF3YKLPOJAVCNFSM6AAAAABAVUPTZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGQ2DMNBQGY . You are receiving this because you authored the thread.Message ID: @.***>

showierdata9978 avatar Dec 20 '23 14:12 showierdata9978

Feel free to add it, I tried adding highlight.js before 1.8 released but I never got the styling correct so held off on it for the time being.

tnix100 avatar Dec 20 '23 14:12 tnix100

Feel free to add it, I tried adding highlight.js before 1.8 released but I never got the styling correct so held off on it for the time being.

because it needs to be in a <pre> <code>

showierdata9978 avatar Dec 20 '23 14:12 showierdata9978

Feel free to add it, I tried adding highlight.js before 1.8 released but I never got the styling correct so held off on it for the time being.

because it needs to be in a <pre> <code>

I'm aware. I got it working and it looked fine but the problem was it didn't fit in with the look of Meower and would need a decent amount of effort to get it to fit in.

tnix100 avatar Dec 20 '23 14:12 tnix100

anti spam

because it needs to be in a <pre> <code>

I'm aware. I got it working and it looked fine but the problem was it didn't fit in with the look of Meower and would need a decent amount of effort to get it to fit in.

even if it doesn't look as good for meower specifically, it reduces spam in home.(especially if we put it in a collapsible block)

showierdata9978 avatar Dec 20 '23 14:12 showierdata9978

The obvious choice here would be highlight.js :)

L, use shiki

theycallhermax avatar Dec 20 '23 16:12 theycallhermax

The obvious choice here would be highlight.js :)

L, use shiki

highlight.js has 22.5k stars shiki has 6.4k

highlight.js is the winner /j

I'm aware. I got it working and it looked fine but the problem was it didn't fit in with the look of Meower and would need a decent amount of effort to get it to fit in.

Perhaps configure the default styling options to have a more orange tint?

ajskateboarder avatar Dec 20 '23 17:12 ajskateboarder

The obvious choice here would be highlight.js :)

L, use shiki

highlight.js has 22.5k stars shiki has 6.4k

highlight.js is the winner

calm down, its not a popularity contest

theycallhermax avatar Dec 20 '23 17:12 theycallhermax