Skip to content

Implement Syntax Highlighting in Documentation Code Snippets #102

@CryptoTotalWar

Description

@CryptoTotalWar

Is your feature request related to a problem? Please describe.

Currently, our documentation displays code snippets in a plain, unstyled format. This absence of syntax highlighting detracts from the visual appeal and readability of our content, especially for users who are accustomed to seeing color-coded variables and commands in their development environments, such as Visual Studio editors or terminals.

Describe the solution you'd like

We propose enhancing our documentation by introducing dynamic syntax highlighting for code snippets. This enhancement would adapt the presentation of code to reflect the active shell theme of the reader, thereby improving the visual appeal and readability of our documentation. For example, transforming a snippet from:

Polykey identities -h

to a styled version that might look like:

polykey(blue) identities(grey) -h(grey)

This solution aims to bring our documentation in line with modern standards of technical writing, providing a more engaging and accessible learning experience for our users.

Additional context

Implementing syntax highlighting in our documentation would not only elevate our presentation standards to match leading technical documents but also significantly enhance the user experience by making our content more intuitive and accessible. This feature, while not critical, represents a valuable aesthetic enhancement that could distinguish our documentation in terms of quality and user engagement.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions