Skip to content

Allow custom tab names in frontmatter #3393

@evwilkin

Description

@evwilkin

The documentation-framework package uses source names by default for the tabs at the top of a page, but it is opinionated in that it replaces all dashes - with spaces and capitalizes instances of html.

If a user wants to customize the text appearing on a tab without these changes automatically applied (as quoted below) they should have an option to pass a string through frontmatter to be used as entered.

I was actually trying to escape the hyphen so that it would show up on the site as "In-app documentation" instead of "In app documentation"! It seemed like hyphens in the code weren't showing on the site, but I also wasn't sure if I understood how the webpage was building correctly. Do you know if that understanding is correct and if there's a way to make hyphens show?

Originally posted by @edonehoo in patternfly/patternfly-quickstarts#205 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions