Skip to content

fix: remove double space in jsx code-fence info strings#325

Closed
moss-bryophyta wants to merge 1 commit into
mainfrom
fix/code-fence-double-space-0624
Closed

fix: remove double space in jsx code-fence info strings#325
moss-bryophyta wants to merge 1 commit into
mainfrom
fix/code-fence-double-space-0624

Conversation

@moss-bryophyta

Copy link
Copy Markdown
Contributor

Summary

The dictionary.jsx code blocks in the useTranslations/getTranslations API references used a double space in the code-fence info string (````jsx title=...```), which can break syntax highlighting and title parsing in some Markdown renderers.

Normalized to a single space.

Changes

  • Fixed the template (docs-templates/api/dictionary/use-translations.mdx)
  • Fixed both generated pages (get-translations.mdx, use-translations.mdx)

Found during the daily docs review pass.

The dictionary.jsx code blocks used ```jsx  title (two spaces),
which can break syntax highlighting/title parsing in some renderers.
Normalized to a single space, fixing the template and both generated pages.
@moss-bryophyta
moss-bryophyta requested a review from a team as a code owner June 24, 2026 15:03
@moss-bryophyta
moss-bryophyta enabled auto-merge (squash) June 24, 2026 15:03
@moss-bryophyta

Copy link
Copy Markdown
Contributor Author

Closing stale docs PR — docs review is moving to a linter-based workflow going forward, and this backlog is now out of date (per Taylor). Keeping #372 and #373.

auto-merge was automatically disabled July 17, 2026 18:09

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant