Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs
  • Loading branch information
kellyjosephprice committed Jun 10, 2024
commit 9340e9c7240a7b6ce116b295d8bb45d2583a73b7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Extends [`RunOptions`](https://mdxjs.com/packages/mdx/#runoptions)
- `components` (`Record<string, MDXModule>`, optional) -- An object of tag names to executed components.
- `imports` (`Record<string, unknown>`, optional) -- An object of modules to import.
- `terms` (`GlossaryTerm[]`, optional)
- `variables` (`Variables`, optional)
- `variables` (`Variables`, optional) -- An object containing [user variables}(https://github.com/readmeio/variable).

### `RMDXModule`

Expand Down
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i hate this snap

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions __tests__/variables.test.ts

This file was deleted.

6 changes: 3 additions & 3 deletions docs/variable-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ category: 5fdf9fc9c2a7ef443e937315
hidden: true
---

This is the variable `defvar`: {variables.defvar}
This is the variable `defvar`: {user.defvar}

Ok, but this one is defined: {variables.email}
Ok, but this one is defined: {user.email}

It does not render in code blocks:

```
{variables.defvar}
{user.defvar}
```

## Glossary Items
Expand Down