Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

ER: Support code highlighting in client #246

Open
alexbbrown opened this issue Nov 25, 2022 · 2 comments
Open

ER: Support code highlighting in client #246

alexbbrown opened this issue Nov 25, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@alexbbrown
Copy link

Is your feature request related to a problem? Please describe.

For whatever reason, mastodon's web interface doesn't support markdown or code face or syntax highlighting.  But clients could!

func a() -> Int {  }

or
keyword

Describe the solution you'd like

I'd like metatext app to use appropriate fonts, and ideally colors, to show code. This would make it easier to read.

Describe alternatives you've considered

Have this supported as official mastodon feature
Automatically detect code without ``` marks.
Have a button to show ALL content as monospace

Additional context
Add any other context or screenshots about the feature request here.

Gagron's pull request is closed mastodon/mastodon#10787

@alexbbrown alexbbrown changed the title Support local code highlighting Support code highlighting in client Nov 25, 2022
@alexbbrown alexbbrown changed the title Support code highlighting in client ER: Support code highlighting in client Nov 25, 2022
@alexbbrown
Copy link
Author

Looks like there are mastodon forks which support formatting and code highlighting.

https://glitch-soc.github.io/docs/features/rich-text/

It's not clear to me if backend support for formatting would automatically be supported in clients - I assume rendering is native in metatext (not webkit).

@jzzocc jzzocc added the enhancement New feature or request label Nov 26, 2022
@alexbbrown
Copy link
Author

Another pr / thread on the topic of integrated markdown mastodon/mastodon#18958

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants