lingo.dev@0.137.6

lingodotdev/lingo.devlingo.dev@0.137.6Jun 26, 2026by github-actions[bot]

AI Summary

A patch release fixing MDX fence parsing to correctly handle code blocks with 4 or more backticks, which were previously malformed.

Key Highlights

  • Fixed MDX code-placeholder loader for 4+ backtick fences
  • Closing fences are now matched at their actual length

Full Release Notes

### Patch Changes

- [#2146](https://github.com/lingodotdev/lingo.dev/pull/2146) [`ea617c0`](https://github.com/lingodotdev/lingo.dev/commit/ea617c0df7125a6f136142bac9b8ae5adf3d57e2) Thanks [@moygospadin](https://github.com/moygospadin)! - fix(mdx): preserve fenced code blocks with 4+ backtick fences

  The MDX code-placeholder loader hard-coded a 3-backtick fence pattern, so a
  fence of 4 or more backticks had only 3 of its closing backticks matched and
  the rest orphaned — the close was emitted as ` ` ```+ a blank line + a
stray lone backtick, producing invalid MDX (e.g. a code block that swallowed
the following`</Accordion>`). Fences are now matched at their actual length,
  with the closing fence allowed to be equal to or longer than the opening
  (per CommonMark).