1actor Main { 2 public query func hello() : async Text { 3 "Hello, world!" 4 }; 5}; 6 7await Main.hello(); 8
Embed a custom Motoko code snippetin a Medium article, blog, or webapp.
https://embed.motoko.org
Use thebutton for your custom embed link.
<iframe src="https://embed.motoko.org" width="100%" height="500" style="border:0" title="Motoko code snippet" />
Use thebutton for your custom code snippet.