-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Formatting feature across all Monaco-based editors #275
base: main
Are you sure you want to change the base?
Formatting feature across all Monaco-based editors #275
Conversation
Signed-off-by: Dharma Teja <[email protected]>
Signed-off-by: Dharma Teja <[email protected]>
Signed-off-by: Dharma Teja <[email protected]>
Signed-off-by: Dharma Teja <[email protected]>
Signed-off-by: Dharma Teja <[email protected]>
✅ Deploy Preview for ap-template-playground ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Dharma Teja <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a much needed feature. Can you help us with a few more details about the packages being added and their usage in this project?
Added. Please review and let me know if any more details are needed! |
Closes #274
Changes
monaco.editor.getEditors()
to retrieve all editor instances and apply formatting.Flags
n/a
Screenshots or Video
Untitled.video.-.Made.with.Clipchamp.4.mp4
Related Issues
Packages added:
remark (^15.0.1)
– A markdown parser and transformer for JavaScript, used for processing markdown content efficiently. Remark GitHubrehype-highlight (^7.0.0)
– A plugin for rehype that adds syntax highlighting to code blocks in markdown. Rehype-Highlight GitHubrehype-raw (^7.0.0)
– Enables raw HTML processing inside markdown while ensuring safe output. Rehype-Raw GitHubregenerator-runtime (^0.13.11)
– Provides support for async/await and generator functions, ensuring cross-environment compatibility. Regenerator GitHubremark-parse (^10.0.0)
- A parser that converts markdown into an Abstract Syntax Tree (AST) for further processing.GitHub: remarkjs/remark-parse
remark-stringify (^10.0.0)
- A plugin for converting markdown AST back into a string format, useful for formatting markdown output.GitHub: remarkjs/remark-stringify
Author Checklist
--signoff
option of git commit.main
fromfork:branchname