This is due to NoScript blocking Data URI execution. This extension may not work properly in Firefox if "NoScript" is active and no user interaction has been performed. Known Issue(s) Firefox & NoScript and/or blocking Data: in Address Bar Save extension/add-on bar space for more functional items.Repurpose an application you are already using, the browser, to be a simple notetaking application.This PopClip extension only uses the very basic of features (see the textarea example above). Others have made additional features like syntax highlighting, etc. If you open a new tab and execute the following in the address bar, you can make the current HTML document editable (basically we are using the Data : prompt_new_command Īfter you are done, run npm run dev to push the update locally to your Raycast.Here, I will try to post extensions that I've created and perhaps link to some noteworthy ones outside of the PopClip Extensions page. You could then read this prompt from the preferences in the new_command.ts file: const prompt = getPreferenceValues ( ). For example, if you want to add a new command called New Command (the corresponding file is new_command.ts), add the following entry to the commands array: , Declare your new command in the package.json file. It's safe to kill the npm run dev process and close the terminal window.ĭepending on the desired behavior of the new command, duplicate the execute.ts or rewrite.ts files. This set of commands should install the extension to Raycast. First, you will need to install the extension from source: cd ~/Developer # or wherever you want to store the extension git clone For example, you can add more commands or change the default model. If you are comfortable with modifying the source code, you can also add more commands to your liking. You will need to provide your OpenAI API key.Ĭustomize your prompts and keyboard shortcuts in the settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |