-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting for polykey cli commands #103
Conversation
Separate button we might want to create on the docs for users to switch themes (out of context) |
-- chatgpt response analyzing your implementation vs the the desired requirements -- The implementation provided by your colleague involves several custom configurations and enhancements to the Docusaurus and Prism setup. Here's a breakdown of the key aspects and how they relate to your requirement of applying standard themes for specific shells: Key Aspects of the Current Implementation
Aligning with Your RequirementsWhile the current implementation focuses on enhancing the highlighting for Polykey CLI commands (
ConclusionThe current implementation provides a robust foundation for syntax highlighting customization in Docusaurus. To align it with your primary requirement, focus on ensuring that standard shells are well-supported and that the themes used are recognizable and familiar to developers. This approach enhances the developer experience by providing clear, consistent, and contextually appropriate syntax highlighting across your documentation. Citations: |
I'm closing this PR because i integrated your changes and code into my other PR. However, I have 1 more thing to add to the issue ticket for this that i will add there. |
Description
This pr is to allow polykey cli commands in the docs to have appropriate syntax highlighting. Furthermore to improve the syntax highlighting of codeblocks using the
sh
orbash
language prefix.The current documentation page showing the changes for polykey cli commands is at
/docs/tutorials/polykey-cli/managing-vaults
. For anysh/bash
code blocks they should have better syntax highlighting site wide.To enable polykey cli syntax highlighting replace code blocks starting with
```sh
or```bash
to```pkcli
.Issues Fixed
Tasks
Final checklist