Skip to content

Commit

Permalink
📖 name --> label in docs (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Oct 18, 2024
1 parent 56b0d17 commit ec70369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/external-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ As with any link, the text can be overridden using markdown link syntax `[text](
The HTML IDs that are part of the documentation are not always the targets that are used in the documentation. The easiest way to find the target to use is to look at the source documentation in RST or MyST.
Look for the `(target)=` syntax or `:label:` or `:name:` on a directive.
Look for the `(target)=` syntax or `:label:` on a directive.
MyST will warn you in the console if your target is not found.
Expand Down
2 changes: 1 addition & 1 deletion docs/javascript-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To create a plugin, you will need a single Javascript file[^esm] that exports on
[^esm]: The format of the Javascript should be an ECMAScript modules, not CommonJS. This means it uses `import` statements rather than `require()` and is the most modern style of Javascript.

:::{literalinclude} unsplash.mjs
:name: unsplash-js-source
:label: unsplash-js-source
:caption: A plugin to add an `unsplash` directive that includes a beautiful, random picture based on a query string.
:::

Expand Down

0 comments on commit ec70369

Please sign in to comment.