Skip to content

fix: correct code langs#708

Merged
RiskeyL merged 1 commit intolanggenius:mainfrom
hyoban:codex/3-15-code-lang
Mar 16, 2026
Merged

fix: correct code langs#708
RiskeyL merged 1 commit intolanggenius:mainfrom
hyoban:codex/3-15-code-lang

Conversation

@hyoban
Copy link
Copy Markdown
Member

@hyoban hyoban commented Mar 15, 2026

No description provided.

@hyoban hyoban requested a review from RiskeyL as a code owner March 15, 2026 10:50
Copilot AI review requested due to automatic review settings March 15, 2026 10:50
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 15, 2026
@dosubot dosubot bot added the documentation Improvements or additions to documentation label Mar 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes Markdown code-fence language identifiers across the multilingual docs so syntax highlighting/rendering is consistent (e.g., Shellshell, JSONjson, YAMLyaml, Pythonpython, Bashbash, jinja2jinja).

Changes:

  • Normalize code block language tags to lowercase across EN/JA/ZH docs.
  • Align Jinja-related code fences to jinja.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
zh/use-dify/workspace/api-extension/api-extension.mdx Normalize Shellshell in ngrok command examples.
zh/use-dify/nodes/trigger/webhook-trigger.mdx Normalize JSONjson for request-body example code fence.
zh/use-dify/nodes/template.mdx Normalize jinja2jinja for template syntax examples.
zh/use-dify/nodes/llm.mdx Normalize jinja2jinja for prompt template example.
zh/self-host/advanced-deployments/start-the-frontend-docker-container.mdx Normalize Bashbash for Docker command snippet.
zh/self-host/advanced-deployments/local-source-code.mdx Normalize Bashbash for git/compose commands.
zh/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin.mdx Normalize YAML/Pythonyaml/python in embedded examples.
ja/use-dify/workspace/api-extension/api-extension.mdx Normalize Shellshell in ngrok command examples.
ja/use-dify/nodes/trigger/webhook-trigger.mdx Normalize JSONjson for request-body example code fence.
ja/use-dify/nodes/template.mdx Normalize jinja2jinja for template syntax examples.
ja/use-dify/nodes/llm.mdx Normalize jinja2jinja for prompt template example.
ja/self-host/advanced-deployments/start-the-frontend-docker-container.mdx Normalize Bashbash for Docker command snippet.
ja/self-host/advanced-deployments/local-source-code.mdx Normalize Bashbash for git/compose commands.
ja/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin.mdx Normalize YAML/Pythonyaml/python in embedded examples.
en/use-dify/workspace/api-extension/api-extension.mdx Normalize Shellshell in ngrok command examples.
en/use-dify/nodes/trigger/webhook-trigger.mdx Normalize JSONjson for request-body example code fence.
en/use-dify/nodes/template.mdx Normalize jinja2jinja for template syntax examples.
en/use-dify/nodes/llm.mdx Normalize jinja2jinja for prompt template example.
en/use-dify/nodes/iteration.mdx Normalize jinja2jinja for template usage snippet.
en/self-host/advanced-deployments/start-the-frontend-docker-container.mdx Normalize Bashbash for Docker command snippet.
en/self-host/advanced-deployments/local-source-code.mdx Normalize Bashbash for git/compose commands.
en/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin.mdx Normalize YAML/Pythonyaml/python in embedded examples.
Comments suppressed due to low confidence (3)

en/use-dify/nodes/trigger/webhook-trigger.mdx:127

  • The fenced block is labeled as json, but the example content isn’t valid JSON (it’s missing the surrounding { ... } object wrapper). This can mislead readers who try to copy/paste the payload; either wrap it as a complete JSON object/array, or switch the fence to a non-JSON language (e.g. text) if it’s intentionally partial.
        ```json
        "customerName": "Alex",
        "items": 
        [
                { "sku": "A42", "quantity": 2 },

zh/use-dify/nodes/trigger/webhook-trigger.mdx:123

  • 代码块标注为 json,但示例内容并不是合法 JSON(缺少外层 { ... })。这会影响读者复制粘贴测试;建议补全为完整 JSON 对象/数组,或如果只是片段则将代码块语言改为 text 等非 JSON。
        ```json
        "customerName": "Alex",
        "items": 
        [
                { "sku": "A42", "quantity": 2 },

ja/use-dify/nodes/trigger/webhook-trigger.mdx:129

  • The fenced block is labeled as json, but the example isn’t valid JSON because it’s missing the outer { ... } wrapper. Consider making the snippet a complete JSON object/array (better for copy/paste), or use a non-JSON fence like text if it’s meant to be a fragment.
        ```json
        "customerName": "Alex",
        "items": 
        [
                { "sku": "A42", "quantity": 2 },

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 16, 2026
@RiskeyL RiskeyL merged commit 5df20ab into langgenius:main Mar 16, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants