logancyang_obsidian-copilot/src/components/CustomPromptSyntaxInstruction.tsx
2025-05-31 22:30:54 -07:00

23 lines
751 B
TypeScript

import React from "react";
export function CustomPromptSyntaxInstruction() {
return (
<ul className="tw-m-0 tw-px-4 tw-text-sm">
<li>
<span className="tw-font-medium tw-text-accent">{"{}"}</span> represents the selected text.
</li>
<li>
<span className="tw-font-medium tw-text-accent">{`{[[Note Title]]}`}</span> represents a
note.
</li>
<li>
<span className="tw-font-medium tw-text-accent">{`{activeNote}`}</span> represents the
active note.
</li>
<li>
<span className="tw-font-medium tw-text-accent">{`{#tag1, #tag2}`}</span> represents ALL
notes with ANY of the specified tags in their property (an OR operation).
</li>
</ul>
);
}