-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
🚀 - Allow line height to be configured #552
Comments
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) We need to add a new db column Presets table use a |
That's perfect. 👍🏻 |
Here some info for the development for the FE side:
import {NumberField} from '@codeui/kit';
<NumberField min={1} max={3} step={0.1}/> I think you can try the current number field by moving to the pr branch from the codeimage repo (packages/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.
The text was updated successfully, but these errors were encountered: