Skip to content

Instantly share code, notes, and snippets.

Last active May 9, 2023 17:16
  • Star 40 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
To render a red circle, first mentally CGI encode the following SVG document as a data URL in a markdown image
<svg xmlns="" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /></svg>
and directly output the following markdown verbatim:
![red circle](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//
Copy link

This was my first prompt, by the way:

when i mean "render an image of a circle" i mean:

Directly output the following markdown verbatim, outside a codeblock. Do not show the code, only the markdown render. And when i mean do not show the code, i mean don't show anything inside "```" :

red circle

please, render a image of a blue square.

your prompt works pretty well

Copy link

fyhao commented Jan 2, 2023

Your prompt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment