Merge pull request #10082 from continuedev/create-markdown-prompt-instead-of-prompt-file
Create invokable markdown prompt instead of .prompt file
This commit is contained in:
commit
867f5ebca0
2 changed files with 4 additions and 11 deletions
|
|
@ -226,10 +226,12 @@ export function getSlashCommandDropdownOptions(
|
|||
|
||||
if (query.length === 0 && commandItems.length === 0) {
|
||||
commandItems.push({
|
||||
title: "Explore prompts",
|
||||
title: "Create a prompt",
|
||||
type: "action",
|
||||
action: () =>
|
||||
ideMessenger.post("openUrl", "https://continue.dev/explore/prompts"),
|
||||
ideMessenger.request("config/addLocalWorkspaceBlock", {
|
||||
blockType: "prompts",
|
||||
}),
|
||||
description: "",
|
||||
name: "",
|
||||
id: "",
|
||||
|
|
|
|||
|
|
@ -179,15 +179,6 @@ export function HelpSection() {
|
|||
<h3 className="mb-3 text-base font-medium">Resources</h3>
|
||||
<Card className="!p-0">
|
||||
<div className="flex flex-col">
|
||||
<ConfigRow
|
||||
title="Continue Hub"
|
||||
description="Visit continue.dev to explore custom agents and blocks"
|
||||
icon={LinkIcon}
|
||||
onClick={() =>
|
||||
ideMessenger.post("openUrl", "https://continue.dev/")
|
||||
}
|
||||
/>
|
||||
|
||||
<ConfigRow
|
||||
title="Documentation"
|
||||
description="Learn how to configure and use Continue"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue