This changeset fixes formatting of the Bazel module code snippet, and adds syntax highlighting with Prism. Additionally, the snippet can be customized to show as a dev_dependency.
Before:
After:
When the Customize this snippet area is expanded, controls are revealed. Checking the dev_dependency box updates the snippet accordingly:
Changelog
feat: add controls for code snippet customization
feat: add dev_dependency code snippet control
feat: add syntax highlighting in CopyCode component
Summary
This changeset fixes formatting of the Bazel module code snippet, and adds syntax highlighting with Prism. Additionally, the snippet can be customized to show as a
dev_dependency
.When the
Customize this snippet
area is expanded, controls are revealed. Checking thedev_dependency
box updates the snippet accordingly:Changelog
dev_dependency
code snippet controlCopyCode
componentprism
andprism-themes
dependencies