dwjohnston / dwjohnston/react-github-permalink

Create a 'minimal' variant of GithubPermalink.

未關閉
#86 0 則留言 1 個 reaction 已指派 1 人 已指派給 @Copilot 在 GitHub 檢視
主要語言
TypeScript
星號
2
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

The current Github Permalink block is very much based on what we see in Github.

This contains too much superflous content - usually what we want is just a codeblock. It should still be able to link back to Github though.

I think the best thing is going to be subtle Github Octocat icon that serves as the link, and a chevron to expand the full details.

The existing Github Permalnk can be extended - and should have a 'isInitiallyExpanded' property.

The global configuration should have 'initiallyExpandGithubPermalinks' to determine the default behaviour of `isInitiallyExpanded`. This default should be true.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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