Skip to content

Syntax highlighting missing from examples in RPC explorer #50

Description

@Cordtus

I tried to add this so the code snippets in the RPC Explorer are a little nicer to read, but couldn't come up with a way that works without writing some ungodly amount of garbage directly into the component itself.
The problem is that you cannot import anuythng (including other internal components apparently) to custom components which Mintlify calls "snippets", nor can you use pretty much anything beyond basic HTML/CSS and react hooks.

Open to suggestions, even more open to PRs here. Until then, plain white text will mar the face of this otherwise masterpiece in interactive EVM RPC pages.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions