Skip to content

Create a 'minimal' variant of GithubPermalink. #86

@dwjohnston

Description

@dwjohnston

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions