Skip to content

Code snippets do not copy correctly from documentation #4742

@dhanushreddy291

Description

@dhanushreddy291

Steps to reproduce

When copying code snippets from the documentation, the copied content is often incomplete or incorrect.

  1. Open any documentation page on the Neon site. (neon.com/docs/get-started/languages)
  2. Copy a code snippet from the page.
  3. Paste it into a code editor.

Expected behavior:
The entire code snippet should be copied exactly as displayed.

Actual behavior:
Only part of the code snippet is copied, or the formatting/content is incorrect.

Examples:

Additional notes:
This issue is not limited to the examples above - most code snippet blocks across the entire documentation appear to be affected.

Screen.Recording.2026-04-11.at.7.43.42.PM.mov

Expected result

The entire code snippet should be copied

Actual result

Partial code is being copied from the code snippets.

Environment

Production (neon.com)

Logs, links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions