Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: In codeblock view, when title is missing hide title #540

Open
ybalkind opened this issue Apr 28, 2024 · 0 comments
Open

FR: In codeblock view, when title is missing hide title #540

ybalkind opened this issue Apr 28, 2024 · 0 comments
Labels
FR New feature or request view:codeblock

Comments

@ybalkind
Copy link

Is your feature request related to a problem? Please describe.

I use codeblocks in Topic templates and the codeblocks will need title. Many of the code blocks will be empty so the pages will render ugly with titles that have empty code blocks underneath

Describe the solution you'd like

When I render a codeblock with the "title" element, if the codeblock has no result to display, the title should hide.

Describe alternatives you've considered

Not using a title. But since i have more than one code block in the template I need titles to distinguish them

@ybalkind ybalkind added the FR New feature or request label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FR New feature or request view:codeblock
Projects
Status: Todo
Development

No branches or pull requests

2 participants