From d025ceadd3f4914e44bcf08651e2c88783ac14c4 Mon Sep 17 00:00:00 2001 From: ankushKun Date: Fri, 19 Apr 2024 23:32:19 +0530 Subject: [PATCH] postMessage code run docs --- pages/external-integration.mdx | 61 +++++++++++++++++++++++++--------- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/pages/external-integration.mdx b/pages/external-integration.mdx index e77baf5..031e2d9 100644 --- a/pages/external-integration.mdx +++ b/pages/external-integration.mdx @@ -7,18 +7,16 @@ This can be used on documentation pages or any other webpage where you want to s ## Iframe usage ```jsx - + + ## Custom code @@ -29,15 +27,48 @@ example: for the lua code `Inbox[#Inbox].Data --Latest message data`, the URL en and can be used as `https://ide.betteridea.dev/?codeblock=Inbox%5B%23Inbox%5D.Data%20--Latest%20message%20data` ```jsx - + width="100%" height="250px" + style={{ borderRadius: 10 }} +/> ``` will preload the code cell with the lua code you provide in the url parameter - +