You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[RazorDocs] Consider adding syntax highlighting for code blocks #39
The ColorCode.Core package was initially added to the RazorDocs project but is not currently being used. It was removed in commit [TBD] to reduce dependencies.
Proposal
Consider adding syntax highlighting for code blocks in documentation:
Use ColorCode.Core or similar library (e.g., Markdig.SyntaxHighlighting)
Apply syntax highlighting to code blocks in Markdown and XML documentation
Support common languages: C#, XML, JSON, etc.
Benefits
Improved readability of code examples
Better developer experience when browsing documentation
Consistent with modern documentation standards
Considerations
Performance impact of syntax highlighting
Bundle size increase
Alternative: Client-side highlighting with Prism.js or Highlight.js
Activity
Chore: Remove unused ColorCode.Core dependency