adambard / adambard/learnxinyminutes-docs

Syntax highlighting in print pages

未关闭
#5,310 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Markdown
星标
12.3k
派生
3.7k
平均合并
13 小时 10 分钟
30 天内合并 PR
6

描述

There is no syntax highlighting in the print pages.

ctrl + p or cmd + p to print (usually the default)

All code is black, but highlighted in the HTML.

See

![Image](https://github.com/user-attachments/assets/b2416ffe-50a5-443c-8f9c-96c9476b0a32)

贡献指南

打开贡献指南

调研方向

The issue names no file or test. Start by reproducing the problem with Ctrl+P or Cmd+P and compare the print preview with the highlighted HTML page; then locate the print-page styling and existing syntax-highlighting rules. Done means code keeps its syntax highlighting in print output while the current HTML rendering remains unchanged.

由索引模型根据 Issue 内容生成。

评估

技术栈
markdown
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。