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 the ability to change the code block language in rich text mode #28

Open
b-kelly opened this issue Mar 15, 2021 · 0 comments · May be fixed by #104
Open

Add the ability to change the code block language in rich text mode #28

b-kelly opened this issue Mar 15, 2021 · 0 comments · May be fixed by #104
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@b-kelly
Copy link
Collaborator

b-kelly commented Mar 15, 2021

Reported on Meta.SE.

This was mentioned in another answer I believe, but I would like to add some mock UX for an idea of how it can work and look.

I just added an arrow next to the language to make it look like a selector.

When clicking on the language, a dialogue would appear with possible selection. For example, a list similar to the following.

✓ auto
-------
c#
css
html
javascript
plaintext
python

Another idea would be to show a dialogue similar to the image's details dialogue. Although this can be annoying and would much prefer the option above.

enter image description here

@b-kelly b-kelly added the enhancement New feature or request label Mar 15, 2021
@b-kelly b-kelly added the good first issue Good for newcomers label May 24, 2021
@b-kelly b-kelly linked a pull request Mar 22, 2022 that will close this issue
@b-kelly b-kelly added this to the Beta 2 milestone Apr 20, 2022
@b-kelly b-kelly modified the milestones: Beta 2, Beta 3 Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant