docs(common/accessories): fix MDX lazy-line build error in _wifi-bt template - #2053
Merged
Milir-Radxa merged 1 commit intoAug 21, 2026
Conversation
… avoid MDX lazy-line error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
PR #2041 合并后 CI 构建失败:
_wifi-bt.mdx中跨多行的<pre>{...}</pre>模板字符串位于列表容器内,micromark 触发Unexpected lazy line in expression in container。修复
将跨行模板字符串压成单行,内部换行改用
\n转义,渲染效果与原来一致:{props.model}动态渲染(引用页面传入 rock-3b / rock-5a / rock-5b / radxa-cm3i-io / rock-4se)验证
docs/common/accessories,zh/en 配对完整