Using Monaco Editor as a Code Block #1675
o12486vs2
started this conversation in
Show and tell
Replies: 3 comments 1 reply
-
Thanks for sharing, @o12486vs2! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes!! A code editor as ui.element would be awesome |
Beta Was this translation helpful? Give feedback.
0 replies
-
I assume ui.codemirror is that code editor of choice now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"I'm relatively new to development and recently found myself in need of a code block similar to st.code. Despite my best efforts, I struggled with setting up code highlighting. That led me to turn to the Monaco editor. To achieve what I needed, I disabled editing in the Monaco editor and removed various editor lines, trying to replicate the appearance of a simple code block. I'm sharing this in hopes it might inspire or help other developers out there."
Beta Was this translation helpful? Give feedback.
All reactions