diff --git a/docs/config.md b/docs/config.md index 41afdc199..d5fb99a5e 100644 --- a/docs/config.md +++ b/docs/config.md @@ -200,7 +200,7 @@ Whether to enable [search](./search) on the project; defaults to false. A hook for registering additional [markdown-it](https://github.com/markdown-it/markdown-it) plugins. For example, to use [markdown-it-footnote](https://github.com/markdown-it/markdown-it-footnote): -```js +```js run=false import type MarkdownIt from "markdown-it"; import MarkdownItFootnote from "markdown-it-footnote"; diff --git a/docs/getting-started.md b/docs/getting-started.md index 008e5428c..2aeae2383 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -88,8 +88,6 @@ Framework includes a helper script (`observable create`) for creating new projec

If you run into difficulty following this tutorial, we’re happy to help! Please visit the Observable forum or our GitHub discussions.

-
Framework does not currently support Windows, though some users have had success with the Windows Subsystem for Linux (WSL). It you are interested in Windows support, please upvote #90.
- To create a new project with npm, run:
npm init @observablehq
diff --git a/docs/search.md b/docs/search.md index 3c032086f..d14dd40f4 100644 --- a/docs/search.md +++ b/docs/search.md @@ -31,3 +31,13 @@ index: true ``` Search is case-insensitive. The indexing script tries to avoid common pitfalls by ignoring HTML tags and non-word characters such as punctuation. It also ignores long words, as well as sequences that contain more than 6 digits (such as API keys, for example). + +You can specify additional comma-separated words to index using the **keywords** option in [Markdown front matter](./markdown). For example: + +```yaml +--- +keywords: file, fileattachment +--- +``` + +These keywords are boosted at the same weight as the page title. diff --git a/package.json b/package.json index 78947f0e4..df4d97b0e 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "name": "@observablehq/framework", "license": "ISC", - "version": "1.1.0-rc.1", + "version": "1.1.0", "type": "module", "publishConfig": { - "access": "public", - "tag": "next" + "access": "public" }, "repository": { "type": "git",