Open larsenwork opened 8 years ago
other examples include mm ligature that can have no spaces and end html comment that can only have a leading space `
-`-
>
Was just thinking we should throw together a ligature test page that has various code snippets where the ligatures would be used. We could quickly load that in different editors to see how it looks.
@mikebronner would be cool - difficult to cover "everything" so I think doing some more conservative ligatures (i.e. wrapped in spaces) is a good approach. Then if people want the ligatures to work without spaces we can also "loosen up".
What I'm currently doing is using http://symbolhound.com and searching for the ligatures in the font I've yet to use myself to see what context they're used in to see if they can be wrapped in spaces
I'm starting to "wrap" ligatures in spaces to avoid current problems like this:![screen shot 2015-08-11 at 19 02 01](https://cloud.githubusercontent.com/assets/3859425/9204107/79a01c56-405b-11e5-9f22-ffc77e88303f.png)
Some ligatures can only have space to one side though and maybe some ligatures can't have spaces at all?
e.g.
will
`
<`!
-
-
`won't work but
<`!
-
-
If you can see other examples like this amongst current ligatures then please let me know :)