-
Notifications
You must be signed in to change notification settings - Fork 441
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
Support Kino.Input.textarea
option to switch to monospace font
#1565
Conversation
As inputs will be ingested and operated on by code, showing input as monospaced prevents confusion by presented the text the same way it would be displayed when assigned to a string in code.
Yeah, I definitely think we want to make it opt-in as textarea are not always code specific. |
Thought that might be the case, sounds good to me! Combined with livebook-dev/kino#220 this allows for the |
Kino.Input.textarea
option to switch to monospace font
Kino.Input.textarea
option to switch to monospace fontKino.Input.textarea
option to switch to monospace font
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds great, thanks! Please sign the CLA, so we can merge :)
Co-authored-by: Jonatan Kłosko <[email protected]>
✅ Signed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Uffizzi Preview Environment
|
As inputs will be ingested and operated on by code, showing input as monospaced prevents confusion by presented the text the same way it would be displayed when assigned to a string in code.
Reference
Before
After
Alternatives
I have another branch that modifies Kino to allow a
monospace
option, allowing monospaced to be turned on/off on a textarea by textarea basis, but thought I would submit the simplest version first.