cosmos / cosmos/docs

Syntax highlighting missing from examples in RPC explorer

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
0
Forks
14
Avg merge
10h 33m
Merged PRs (30d)
6

Description

I tried to add this so the code snippets in the [RPC Explorer](https://evm.cosmos.network/docs/api-reference/ethereum-json-rpc/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.