feat: add line numbers to code blocks with gutter styling

- Implemented line number display with absolute positioned gutter (40px width, right-aligned text)
- Added dynamic padding to pre element based on showLineNumbers state (3.5rem left padding when enabled)
- Moved hljs import to top-level for better performance and removed redundant dynamic imports
- Added ViewEncapsulation.None to enable global hljs theme styling
- Enhanced gutter styling with semi-transparent background, border, and pointer
This commit is contained in:
2025-11-19 18:53:27 -05:00
parent 2a5047b7f0
commit b695095593
2 changed files with 62 additions and 30 deletions
File diff suppressed because one or more lines are too long