Logo and icon for Take Code Captures, a ChatGPT plugin with description: Capture, beautify, and share your code snippets easily.. Find out more on Plugin Surf, the best plugin database.

Take Code Captures

Capture, beautify, and share your code snippets easily.

Capture, beautify, and share your code snippets easily with Take Code Captures. This plugin allows users to create code captures or screenshots and provides various features to enhance the code captures. After receiving the API response, the plugin can render the capture URL, open the capture in a new tab, or edit the capture online. It also supports key phrases like 'show ideas' and 'explore themes' to view ideas for improvement or explore different themes. Users can customize the background color and choose from a variety of predefined themes. Error messages from the API response are also handled gracefully.

Learn how to use Take Code Captures effectively! Here are a few example prompts, tips, and the documentation of available commands.

Example prompts

  1. Prompt 1: "I want to create a code capture of a Python script."

  2. Prompt 2: "Can you help me render a code snippet and provide a link to the capture?"

  3. Prompt 3: "I need a code screenshot, can you assist me with that?"

  4. Prompt 4: "How can I edit a code capture online?"

  5. Prompt 5: "What are some ideas to improve the capture output?"

Features and commands

Feature/CommandDescription
get__RenderThis command takes a code snippet, renders it, and returns a link to the code capture.
show ideasBy using this key phrase, the AI can provide a list

Configuration

User authenticationNo user authentication
API documentation

For AI

Nametake_code_captures
Description## When to Use This Plugin You should use this plugin when people want to create code captures or screenshots ## Interpreting the API response This section comes after receiving the api response, follow all these steps in order: 1. The Capture: Render the capture URL in inline using "![alt text](capture)" syntax. 2. Link to open a new tab: Say "[Open capture in new tab](capture)". 3. Link to edit capture: Say "[Edit capture online](editCaptureOnline)" 4. Key phrase 'show ideas': Say "To view ideas to improve the capture, use the key phrase "*show ideas*"" 5. Key phrase 'explore themes': Say "To explore other themes, use the key phrase "*explore themes*"" Please note: - Don't describe the capture textually because the capture is self-explanatory and saying it would be redundant unless the user asks for it. - Is important to follow all these steps, from the capture to the key phrases. ## Handle error messages from API response - If an errorMessage is included in the response: show it to the user, don't try to render the capture inline, still suggest they can edit it online or try again. ## Ideas to improve the capture 1. Say "**Ideas to improve the capture:**". 2. Provide an unordered list of between 3 and 4 items, the items follow a pattern "**{reason}**: {explanation}". Please note: - Only say it when the user asks for it by using their respective key phrase "show ideas" - Do not suggest ideas that are not implemented in the API, for example: fonts, zoom, etc. Only suggest ideas related to the implemented features in the API, for example: themes, background color, window theme, selected lines, etc. ## Explore themes of captures 1. Say "**Explore the following themes:**". 2. Provide an ordered list of 10 themes with items following a pattern "**{theme}**: {description}". Please note: - Only say it when the user asks for it by using their respective key phrase "explore themes" - Use the voice of an expert salesman for each theme's description - The first themes should be themes that the user might like ## Tips: - When using the render endpoint, the openApiSchemaVersion parameter is always "1.0" - The theme parameter is always 'seti' unless the user asks for it - When using a custom background (the background color around the code): If the theme's background is DARK, then use a LIGHT custom background; if the theme's background is LIGHT, then use a DARK custom background. ## Theme colors: id, dark_mode, background, text, variable, attribute, definition, keyword, operator, property, number, string, comment, meta, tag dracula-pro, true, darkslategray, whitesmoke, lightgreen, lightgreen, lightgreen, hotpink, hotpink, skyblue, plum, khaki, slategray, whitesmoke, hotpink solarized light, false, oldlace, slategray, lightslategray, lightseagreen, lightseagreen, chocolate, slateblue, lightseagreen, mediumvioletred, olive, dimgray, olive, darkgray night-owl, true, black, darkgray, lightskyblue, salmon, lightskyblue, plum, plum, white, salmon, burlywood, dimgray, skyblue, skyblue cobalt, true, midnightblue, white, paleturquoise, violet, white, khaki, white, white, violet, limegreen, dodgerblue, orange, paleturquoise monokai, true, darkslategray, whitesmoke, whitesmoke, yellowgreen, darkorange, deeppink, white, yellowgreen, mediumpurple, khaki, dimgray, dimgray, palevioletred hopscotch, true, darkslategray, lightgray, yellowgreen, yellowgreen, darkorange, indianred, white, yellowgreen, indianred, sandybrown, firebrick, dimgray, indianred material, true, darkslategray, darkslategray, lightskyblue, sandybrown, darkslategray, darkcyan, darkslategray, mediumaquamarine, salmon, khaki, dimgray, mediumaquamarine, darkslategray one-light, false, darkslategray, darkgray, lightcoral, darksalmon, burlywood, orchid, mediumturquoise, mediumturquoise, darksalmon, darkseagreen, dimgray, darkgray, lightcoral panda-syntax, true, darkslategray, gainsboro, sandybrown, sandybrown, gainsboro, hotpink, whitesmoke, whitesmoke, sandybrown, aqua, dimgray, mediumpurple, deeppink twilight, true, black, whitesmoke, slategray, darkkhaki, slategray, khaki, darkkhaki, white, peru, gray, gray, whitesmoke, sienna duotone-dark, true, darkslategray, dimgray, navajowhite, navajowhite, lavender, navajowhite, sandybrown, mediumpurple, navajowhite, lightsalmon, dimgray, dimgray, lavender zenburn, true, darkslategray, lightgray, burlywood, burlywood, lightgray, wheat, antiquewhite, burlywood, lightgray, rosybrown, gray, wheat, skyblue one-dark, true, snow, darkslategray, lightcoral, darksalmon, royalblue, darkorchid, darkcyan, royalblue, olive, seagreen, darkgray, darkslategray, tomato base16-dark, true, black, gainsboro, darkkhaki, mediumblue, peru, sienna, white, darkkhaki, rosybrown, burlywood, sienna, dimgray, sienna base16-light, false, whitesmoke, black, darkkhaki, darkkhaki, peru, sienna, black, darkkhaki, rosybrown, burlywood, sienna, dimgray, sienna seti, true, black, lightgray, mediumturquoise, yellowgreen, mediumturquoise, burlywood, yellowgreen, mediumpurple, indianred, mediumturquoise, darkslategray, mediumturquoise, mediumturquoise oceanic-next, true, darkslategray, whitesmoke, whitesmoke, plum, cornflowerblue, plum, white, darkseagreen, coral, darkseagreen, dimgray, dimgray, plum lucario, true, darkslategray, whitesmoke, whitesmoke, skyblue, darkseagreen, tomato, skyblue, whitesmoke, plum, khaki, cornflowerblue, whitesmoke, tomato yeti, false, linen, silver, mediumturquoise, darkkhaki, mediumturquoise, darkkhaki, darkkhaki, mediumpurple, mediumpurple, lightsteelblue, silver, lightsteelblue, lightsteelblue paraiso-dark, true, darkslategray, silver, mediumseagreen, mediumseagreen, orange, tomato, white, mediumseagreen, slategray, gold, hotpink, dimgray, tomato solarized dark, true, darkslategray, lightslategray, lightslategray, lightseagreen, lightseagreen, chocolate, slateblue, lightseagreen, mediumvioletred, olive, dimgray, olive, darkgray vscode, true, black, lightgray, lightskyblue, darksalmon, palegoldenrod, orchid, lightgray, palegoldenrod, silver, darksalmon, olivedrab, lightgray, cornflowerblue verminal, true, black, white, lightpink, darksalmon, dodgerblue, lightskyblue, hotpink, deepskyblue, darksalmon, darkseagreen, dimgray, darkgray, lightcoral a11y-dark, true, darkslategray, whitesmoke, darkturquoise, yellowgreen, gold, lightsalmon, whitesmoke, yellowgreen, thistle, gold, silver, silver, thistle blackboard, true, black, whitesmoke, orangered, darkgray, darkgray, gold, white, white, greenyellow, limegreen, darkgray, greenyellow, darkgray nord, true, darkslategray, gainsboro, skyblue, darkgray, gainsboro, darkgray, darkgray, gainsboro, darkgray, darkseagreen, dimgray, darkgray, darkgray shades-of-purple, true, darkslategray, white, paleturquoise, paleturquoise, paleturquoise, orange, orange, gold, lightcoral, palegreen, mediumorchid, orange, paleturquoise synthwave-84, true, darkslategray, darkgray, deeppink, lavenderblush, white, linen, linen, white, salmon, coral, lightslategray, coral, deeppink 3024-night, true, black, lightgray, seagreen, mediumblue, thistle, crimson, white, seagreen, gray, yellow, darkkhaki, dimgray, n/a

Updates

First added7 August 2023

Similar plugins