Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Syntax Highlighting for Code Blocks and Inline Code #5895

Open
skiniks opened this issue Oct 21, 2024 · 0 comments
Open

Add Syntax Highlighting for Code Blocks and Inline Code #5895

skiniks opened this issue Oct 21, 2024 · 0 comments
Labels
feature-request A request for a new feature

Comments

@skiniks
Copy link
Contributor

skiniks commented Oct 21, 2024

Describe the Feature

Earlier today, @patak-dev made a post highlighting the importance of syntax highlighting, especially for developers sharing accessible code snippets rather than images. This feature would not only improve accessibility but would continue to foster a developer-friendly environment, promoting more experimentation with the protocol.

Here’s the original post:

"Are there plans to add syntax highlighting to code blocks and inline code to Bluesky? It is one of the top features devs appreciated in Elk. Being able to share a11y code snippets instead of images makes a huge diff. I think it could help a lot to promote tinkering with the protocol among devs."

@gaearon also expressed support for the idea, stating:

"We should add that imo. The question to me is, do we detect markdown code fences or do we have some special facets for code?"

I am happy to contribute time to help work on this feature once a direction has been chosen.

Attachments

Here's the attachment from @patak-dev's post as an example:

bafkreidtkxfrfe4jlaw2eixfeqtz3gpdpvvanfbcqmyhqb7l4dv5w74c7u

Describe Alternatives

No response

Additional Context

No response

@skiniks skiniks added the feature-request A request for a new feature label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant