Open kedar-joshi opened 1 year ago
Hi @kedar-joshi, we'll work on this issue in the next days.
Me and @hackpirodev are open to suggestions, my idea is to add a new field "Line height" in the editor options as a number input. The default value will be 1.4 (the current used value)
@hackpirodev
We need to add a new db column lineHeight
to the SnippetEditorOptions
table in order to persist this value for registered users.
Presets table use a json
field to save the options then we don't have to update its structure...but we might have to update the mappers (Iām not sure about that, maybe a version upgrade is even not needed since this is not a breaking change)
my idea is to add a new field "Line height" in the editor options as a number input. The default value will be 1.4 (the current used value)
That's perfect. šš»
@hackpirodev
Here some info for the development for the FE side:
import {NumberField} from '@codeui/kit';
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which @codeimage/* package(s) are relevant/releated to the feature request?
codeimage
Description
CodeImage is my preferred way of generating code screenshots and it's an amazing tool (so thank you so much šš»).
However, sometimes I miss the ability to use custom line height for better readability. It would great if there is a was way to choose the line height for the code.