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

Does the content of the code block support formatting options ? #399

Open
1 task done
johncodeai opened this issue Nov 27, 2024 · 2 comments
Open
1 task done

Does the content of the code block support formatting options ? #399

johncodeai opened this issue Nov 27, 2024 · 2 comments

Comments

@johncodeai
Copy link

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

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

Does the content of the code block support formatting options like Bold, Strike-through, Highlight, etc.?
I've noticed that many editors offer this feature.
This feature may be required for code highlighting, special comments, page search, and more.

image

Proposed Solution

Allow Bold, Strike-through, Highlight, and other formatting options to be applied to code block content.

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

@Darginec05
Copy link
Collaborator

The Code plugin has its own editor via Codemirror, so now it is impossible to highlight text in bold, italics, etc.
I have plans to create another package (lightweight version of the Code) using the Slate editor, not external editor

@johncodeai
Copy link
Author

The Code plugin has its own editor via Codemirror, so now it is impossible to highlight text in bold, italics, etc. I have plans to create another package (lightweight version of the Code) using the Slate editor, not external editor

That's great, looking forward to the new code package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants