I am trying to create an Miro app which creates and populates code blocks. Is this even possible? Was not able to find in the documentation how to do this.
If not, is there a work around like e.g. createing text blocks first and then using MiroAI to convert the text blocks into code blocks?
https://developers.miro.com/docs/miro-web-sdk-board-items-crud
But then searched the developer docs for "code blocks" and found this:
https://developers.miro.com/docs/board-items#unsupported-items

I'm not sure of a workaround at this time. Let's see if a Mironeer or another community member have an idea.
You can create code blocks in Miro using a Miro app or widget that supports code formatting or embeds.
Sorry if this is a baic question, its my first time creating an App for Miro
AFAIK, the only widgets that support code-style formatting are in the following two widgets (both not yet supported in the Web SDK):
- Code block
- Miro docs (Ctrl/Cmd + E to format text as inline code – more on this here).
I believe that your only options at this time for creating something that looks like code is to
- Create either a shape or text widget
- Set the fontFamily to plex_mono, i.e.,
non-ambiguous, mono spaced
- Set the lfont] colour to white
- Set the fillColour to black
As for requesting a feature, you can post in the wish list forum.
Wish List Idea Post
I’d recommend adding this as an Idea in the Wish List category by following the guidelines here: Wish List: Everything You Need to Know.
If you do create a Wish List Idea post, I would also recommend that you post a link to it back here, so that future readers of this post can quickly get to and vote for your Idea.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.