Skip to content

[Docs] Add margin to MDX code blocks #9730

Closed

Description

@weronikaolejniczak

The purpose of this ticket is to style the snippets in such a way that there's space between other snippets and blocks of texts, e.g. through margin property.

This affects MDX code blocks:

```html
...

Context

Example: Utilities > Provider > @emotion/cache customization (packages/website/docs/components/utilities/provider.mdx:42)

Current Expected
Screenshot 2025-03-05 at 15 49 02 Screenshot 2025-03-05 at 15 47 09

Migrated from the internal tracker (elastic/eui-private#239) to allow external contributions.

Activity

  1. added
    documentation
    help wanted
    low hanging fruit
    on Jun 18, 2026
  2. github-actions commented on Jun 18, 2026

    @github-actions

    👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationhelp wantedlow hanging fruit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions