code-corps / code-corps/code-corps-ember

Code theme selector is not appearing when markdown contains code

未關閉
#1,503 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
120
分支
75
PR 合併指標
30 天內沒有已合併 PR

描述

For whatever reason, it looks like the `containsCode` function appears to not be working everywhere. There's an open task on production where it looks like there is definitely code in the markdown but the code theme selector does not display.

貢獻指南

開啟貢獻指南

研究方向

先找出 containsCode 函式和程式碼主題選擇器的邏輯,然後使用明顯包含程式碼的 Markdown 重現回報的案例。將偵測結果與選擇器的顯示條件進行比較。當包含程式碼的 Markdown 能一致地使選擇器顯示,並且為失敗案例加入回歸測試時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。