Skip to content

hasRenderedText (markdown etc) #148

@fregante

Description

@fregante
export const isRenderedTextFile = isSingleFile && endsWith(md)
export const hasRenderedText = isRepoRoot || isRenderedTextFile || etc

These shouldn't include SVG and other rendered content

Partially implemented in https://github.com/refined-github/refined-github/pull/4151/files#diff-a1b04b00ad1bdc63f8898dfbf43b2faf61ae3be4f50182d5a144d3e7f0dc7c29R14

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions