Skip to content

Commit 2a17313

Browse files
mbostockFil
andauthored
1.1.0 (#975)
* 1.1.0 * remove cautionary note about windows (#959) * document keywords, again * don’t run footnote example --------- Co-authored-by: Philippe Rivière <[email protected]>
1 parent 27c5d2a commit 2a17313

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Whether to enable [search](./search) on the project; defaults to false.
200200

201201
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):
202202

203-
```js
203+
```js run=false
204204
import type MarkdownIt from "markdown-it";
205205
import MarkdownItFootnote from "markdown-it-footnote";
206206

docs/getting-started.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ Framework includes a helper script (`observable create`) for creating new projec
8888
<p>If you run into difficulty following this tutorial, we’re happy to help! Please visit the <a href="https://talk.observablehq.com">Observable forum</a> or our <a href="https://github.com/observablehq/framework/discussions">GitHub discussions</a>.</p>
8989
</div>
9090

91-
<div class="caution">Framework does not currently support Windows, though some users have had success with the <a href="https://learn.microsoft.com/en-us/windows/wsl/install">Windows Subsystem for Linux (WSL)</a>. It you are interested in Windows support, please upvote <a href="https://github.com/observablehq/framework/issues/90">#90</a>.</div>
92-
9391
To create a new project with npm, run:
9492

9593
<pre data-copy>npm init @observablehq</pre>

docs/search.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,13 @@ index: true
3131
```
3232

3333
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).
34+
35+
You can specify additional comma-separated words to index using the **keywords** option in [Markdown front matter](./markdown). For example:
36+
37+
```yaml
38+
---
39+
keywords: file, fileattachment
40+
---
41+
```
42+
43+
These keywords are boosted at the same weight as the page title.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "@observablehq/framework",
33
"license": "ISC",
4-
"version": "1.1.0-rc.1",
4+
"version": "1.1.0",
55
"type": "module",
66
"publishConfig": {
7-
"access": "public",
8-
"tag": "next"
7+
"access": "public"
98
},
109
"repository": {
1110
"type": "git",

0 commit comments

Comments
 (0)