Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Custom Line Height for code block #1097

@dshomoye

Description

@dshomoye

Affected part of DeckDeckGo

  • Studio (online editor)
  • Remote control
  • Poll
  • Site
  • Documentation
  • Demo
  • Starter kit
  • Web Components
  • Templates

Feature Description

Not super familiar with the code base yet but simply put: I find the default line height used in the code blocks to be too dense.
Just like there is a CSS variable to change the font (which I have also increased in my use).
I would love to have an option to increase the line height as well. Maybe something like --deckgo-highlight-code-line-height

Use Case

The preferred line height is definitely a subjective/preferential setting. But I think that's a pretty solid reason to have it - especially since there's already a good amount of customizability already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthighlight-codeHighlight code web component

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions