Open mdgriffith opened 5 years ago
Since it would only be a minor release, maybe you could add this to the current version of elm-ui
and see how well it works?
This might be a handy library outside of elm-ui, actually. Maybe it could be a dependency?
Are there common, useful unicode chars that would benefit from having a named value in
elm-ui
?Here is my current list of chars that are really useful, but underutilized:
ellipses
,glue
(aka "nbsp" used for ensuring a space doesn't break),em-dash
,en-dash
,soft-hyphen
(allows a word to break with a hyphen in a specific place if it's wrapped),bullet
,hollowBullet
.This came up as Im taking a look at text wrapping and having
nbsp
andsoft-hyphen
are both pretty useful in those cases. And they're whitespace characters, so you sorta have to refer to it by it's unicode ...err...code.https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens#Suggesting_line_break_opportunities