Skip to content

Commit

Permalink
Update mighty-apples-tan.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown authored Nov 20, 2024
1 parent 53ac6c9 commit 63caca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/mighty-apples-tan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystatic/core': patch
---

Improve syntax highlighting in the `fields.mdx`/`fields.markdoc` editor to only use the first word in the info string to match the language. This is primarily for `fields.mdx` to allow additional information in the info string beyond the editor. In `fields.markdoc` additional content after the first word will be stripped since Markdoc expresses additional information using Markdoc annotations which Keystatic already exposes UI for it if `options.codeBlock.schema` is configured.
Improve syntax highlighting in the `fields.mdx`/`fields.markdoc` editor to only use the first word in the info string to match the language. This is primarily for `fields.mdx` to allow additional information in the info string beyond the editor. In `fields.markdoc` additional content after the first word will be stripped since Markdoc expresses additional information using Markdoc annotations which Keystatic already exposes UI for if `options.codeBlock.schema` is configured.

0 comments on commit 63caca1

Please sign in to comment.