Skip to content

Extract inline code blocks from speech-understanding MDX pages#632

Open
m-ods wants to merge 6 commits intomainfrom
claude/extract-mdx-code-blocks-n7jZf
Open

Extract inline code blocks from speech-understanding MDX pages#632
m-ods wants to merge 6 commits intomainfrom
claude/extract-mdx-code-blocks-n7jZf

Conversation

@m-ods
Copy link
Contributor

@m-ods m-ods commented Feb 11, 2026

Process custom-formatting.mdx, speech-understanding.mdx, and translation.mdx to extract all inline code blocks (Python, JavaScript, bash, JSON, text) into separate snippet files under snippets/ directories, replacing them with and references per the extraction plan.

https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN

…nippet files

Process custom-formatting.mdx, speech-understanding.mdx, and translation.mdx
to extract all inline code blocks (Python, JavaScript, bash, JSON, text) into
separate snippet files under snippets/ directories, replacing them with
<Code src> and <CodeBlocks> references per the extraction plan.

https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
@github-actions
Copy link

JSON files with // comments, [...], and bare ... are invalid syntax.
Replace 5 affected .json snippet files with -response.mdx files using
<Json> components (JS object literals), referenced via <Markdown src>.

https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

Run `pnpm generate:fern-definition` and `pnpm to-json` to update
generated files that were out of sync with the source YAML specs.

https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
@github-actions
Copy link

The CI uses `pnpm to-json` (js-yaml) followed by `pnpm format`
(prettier), which produces different output than fern write-definition.
Regenerate using the same pipeline CI uses.

https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
@github-actions
Copy link

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.

2 participants