q-import { wiki-common.qhtml } wiki-shell { sectionKey: "try" pathPrefix: "" pageTitle: "Try It Yourself" pageIntro: "This page reads QHTML from the URL and drops it straight into q-editor. Use qhtml64 for base64 text or qhtml for URL-encoded source." main { wiki-example-card { title: "GET request format" summary: "You can share a ready-to-edit example without building a server route. The page reads the query string in the browser." note: "qhtml64 is checked first because it is safer for multiline source with braces and quotes." details { html { ?qhtml=div%20%7B%20text%20%7B%20hello%20%7D%20%7D ?qhtml64=ZGl2IHsgdGV4dCB7IGhlbGxvIH0gfQ== } } } wiki-example-card { title: "Live editor" summary: "The editor below is a normal q-editor. The only custom JavaScript on this page is the tiny URL-decoding bridge." note: "If no query string is provided, the page loads a beginner-friendly starter example." details { html { <q-editor id="try-editor"></q-editor> <script> // read qhtml64 or qhtml // set editor source </script> } } } } }