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 摘要。