github / github/markup

[Bug] The width of `<img>`s inside footnotes is reduced, such that the rendered image is horizontally compressed.

未關閉
#2,006 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Ruby
星號
6k
分支
3.4k
PR 合併指標
30 天內沒有已合併 PR

描述

#### Errata (Examples)

The undermentioned markup reproduces this: [^1]

[^1]: [`issues/2005`](https://github.com/github/markup/issues/2005#issue-3553990404)

~~~Markdown
Although `explorer.exe` renders its layout preferences toolbar at `shell:MyComputerFolder`, [^1] Files does not at its “Home” page, [^2] thereby preventing the user from viewing the information that it provides in a more compact format (like a list) than the card view that is provided.

[^2]:

Image

[^1]:

Image


~~~

An example of it in practice is at [`files-community/Files/issues/17799#issue-3553987309`](https://github.com/files-community/Files/issues/17799#issue-3553987309):

Image

#### Affected

1. [ ] [`files-community/Files/issues/17799#issue-3553987309`](https://github.com/files-community/Files/issues/17799#issue-3553987309)

1. [ ] [`microsoft/vscode/issues/268424#issuecomment-3461911422`](https://github.com/microsoft/vscode/issues/268424#issuecomment-3461911422)

[^2]

[^2]: [`issues/1811`](https://github.com/github/markup/issues/1811#issue-2348800274)

貢獻指南

開啟貢獻指南

研究方向

先從 Markdown 重現以及連結的 issues/2005 和 issues/1811 參照開始,然後比較註腳中的圖片與其他位置的圖片的呈現方式。完成的標準是註腳圖片保留其預期的水平方向尺寸,而不是被壓縮;請根據 Affected 下列出的 Files 和 VS Code 範例進行驗證。

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

評估

技術堆疊
html, markdown, ruby
領域
content, documentation
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
55/100

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

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