Skip to content

Commit 0d1a7e4

Browse files
committed
Link AI script prompts to the Markdown API
Use the Markdown API reference so AI providers receive the source documentation. Browser prompt checks and both builds pass. prompt: Explain what to enter in the script request field and use the .md API reference URL in AI prompts.
1 parent c86caa2 commit 0d1a7e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/gen_docs.fulltext_search.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@
739739
const q = widget.querySelector(".askai-input").value.trim();
740740
if (!q) return;
741741
const prefix = widget.dataset.scriptExamplesUrl
742-
? "Write SumatraPDF ecma5 javascript script. API reference: https://www.sumatrapdfreader.org/docs/Tool-run-javascript-reference Example scripts: " +
742+
? "Write SumatraPDF ecma5 javascript script. API reference: https://www.sumatrapdfreader.org/docs/Tool-run-javascript-reference.md Example scripts: " +
743743
widget.dataset.scriptExamplesUrl +
744744
"\n"
745745
: undefined;

0 commit comments

Comments
 (0)