Skip to content

Commit 587e5e1

Browse files
committed
add paths to example blocks
1 parent aeeb347 commit 587e5e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ async function onGoToSuggestion(index: number, suggestion: Suggestion, queryStri
4848
Functions are provided to the plugin like so:
4949

5050
```js
51+
// docs/.vuepress/config.js
5152
const fs = require('fs');
5253
const { path } = require('@vuepress/shared-utils');
5354
@@ -64,6 +65,7 @@ module.exports = {
6465
For example, in `fulltextSearchFunctions.js`, you might have:
6566

6667
```js
68+
// docs/.vuepress/fulltextSearchFunctions.js
6769
export async function processSuggestions(suggestions, queryString, queryTerms) {
6870
if (queryString) {
6971
// add a suggestion to start a search in an external service

0 commit comments

Comments
 (0)