Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Hint that mdx.inline is not transformed by Astro #1352

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
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
4 changes: 3 additions & 1 deletion docs/src/content/pages/fields/mdx.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ someContent: fields.mdx.inline({
})
```

this will write content next to other fields like this instead of in a different file:
This will write content next to other fields like this instead of in a different file:

```yaml
someContent: |
Expand All @@ -123,6 +123,8 @@ someContent: |
Some content
```

Depending on your Integration, you may have to transform those sections manually. Astro, for example, will return them as plain text. You can [use mikromark](https://github.com/micromark/micromark) – which Keystatic uses internally – to generate the HTML.

---

## Formatting options
Expand Down
Loading