Syntax highlighting tricked by backtick
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
在 [email protected] 和 [email protected] URL 上复现行为,然后阅读 issue #66,并确定当前 live/master 版本所使用的语法高亮入口点。完成标准是,受影响的反引号或和号不再误导高亮,同时嵌套模板字面量仍能正常工作。
由索引模型根据 Issue 内容生成。
描述
Happens in the latest live/master version of runpkg:
See line 27 for [email protected]. Also might be an issue with the & on line 22?
https://www.runpkg.com/[email protected]/index.js
I haven't dug into this at all, and believe we're now using a different library for the syntax highlighting, but there may be an overlap with issue #66
Unlike in issue #66 , https://runpkg.com/[email protected]/internal.js now seems to work fine with nested template literals (see line 414)
- 主要语言
- JavaScript
- 星标
- 307
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FormidableLabs/runpkg 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
FormidableLabs/runpkg#209 · 4 条评论 ·
-
bug improvement
难度 4/5 3-5 天 新手友好度 28/100
FormidableLabs/runpkg#183 ·
-
improvement
难度 4/5 3-5 天 新手友好度 35/100
FormidableLabs/runpkg#181 ·
-
Prettier enhancements: feedback/state & options可能重新可做 @kiraarghy 于 2471 天前认领,目前没有进行中的 PR。 未关闭
FormidableLabs/runpkg#176 · 1 条评论 · 已指派 3 人 ·
-
"Contributing" doc可能重新可做 @kiraarghy 于 2471 天前认领,目前没有进行中的 PR。 未关闭
FormidableLabs/runpkg#174 · 1 条评论 · 已指派 2 人 ·
查看 FormidableLabs/runpkg 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
murdos/musicbrainz-userscripts#1150 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
web-scrobbler/web-scrobbler#6266 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
exa-studio/ApiVault#329 ·