mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
23 lines
751 B
TypeScript
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>
|
|
);
|
|
}
|