Skip to content

Commit 7c5670e

Browse files
authored
keywords (#840)
* keywords * add keywords * fix test
1 parent 55840a0 commit 7c5670e

File tree

13 files changed

+48
-4
lines changed

13 files changed

+48
-4
lines changed

docs/inputs/range.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: sliders
3+
---
4+
15
# Range input
26

37
<a href="https://github.com/observablehq/inputs/blob/main/README.md#range" target="_blank">API</a> · <a href="https://github.com/observablehq/inputs/blob/main/src/range.js" target="_blank">Source</a> · The range input specifies a number between the given *min* and *max* (inclusive). This number can be adjusted roughly by sliding, or precisely by typing. A range input is also known as a slider.

docs/inputs/select.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: dropdown
3+
---
4+
15
# Select input
26

37
<a href="https://github.com/observablehq/inputs/blob/main/README.md#select" target="_blank">API</a> · <a href="https://github.com/observablehq/inputs/blob/main/src/select.js" target="_blank">Source</a> · The select input allows the user to choose from a given set of values. A select is recommended over a [radio](./radio) or [checkbox](./checkbox) input when the number of values to choose from is large — say, eight or more — to save space.

docs/inputs/text.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: textbox
3+
---
4+
15
# Text input
26

37
<a href="https://github.com/observablehq/inputs/blob/main/README.md#text" target="_blank">API</a> · <a href="https://github.com/observablehq/inputs/blob/main/src/text.js" target="_blank">Source</a> · The text input allows freeform single-line text entry. For multiple lines, see the [text area](./textarea) input.

docs/inputs/textarea.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: textbox
3+
---
4+
15
# Text area input
26

37
<a href="https://github.com/observablehq/inputs/blob/main/README.md#textarea" target="_blank">API</a> · <a href="https://github.com/observablehq/inputs/blob/main/src/textarea.js" target="_blank">Source</a> · The textarea input allows freeform multi-line text entry. For a single line, see the [text](./text) input.

docs/javascript/files.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: file, fileattachment, attachment
3+
---
4+
15
# JavaScript: Files
26

37
Load files — whether static or generated dynamically by a [data loader](../loaders) — using the built-in `FileAttachment` function. This is available by default in Markdown, but you can import it explicitly like so:

docs/javascript/inputs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: viewof
3+
---
4+
15
# JavaScript: Inputs
26

37
Inputs are graphical user interface elements such as dropdowns, radios, sliders, and text boxes that accept data from a user and enable interaction via [reactivity](./reactivity). They can also be custom elements that you design, such as charts that support interactive selection via pointing or brushing.

docs/lib/leaflet.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: geojson, maps
3+
---
4+
15
# Leaflet
26

37
[Leaflet](https://leafletjs.com/) is an “open-source JavaScript library for mobile-friendly interactive maps.” Leaflet is available by default as `L` in Observable markdown. You can import it explicitly like so:

docs/lib/mapbox-gl.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: geojson, maps
3+
---
4+
15
# Mapbox GL JS
26

37
[Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js/guides/) is a library for building web maps and web applications with Mapbox’s modern mapping technology. Mapbox GL JS is available by default as `mapboxgl` in Markdown, but you can import it explicitly like so:

docs/lib/plot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: charts, geojson, maps
3+
---
4+
15
# Observable Plot
26

37
[Observable Plot](https://observablehq.com/plot/) is a “JavaScript library for visualizing tabular data, focused on accelerating exploratory data analysis. It has a concise, memorable, yet expressive interface, featuring scales and layered marks.” It’s the sister library to our other visualization library, [D3.js](./d3). Observable Plot is available by default as `Plot` in Markdown, but you can import it explicitly like so:

docs/lib/tex.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
keywords: katex
3+
---
4+
15
# TeX
26

37
${tex`\TeX`} is a language for typesetting mathematical formulae. Observable provides a TeX tagged template literal implementation powered by ${tex`\KaTeX`}. It is available by default as `tex` in Markdown, but you can also import it like so:

0 commit comments

Comments
 (0)