-
Notifications
You must be signed in to change notification settings - Fork 204
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
Request: connected underscores __ #87
Comments
That is actually built into the font. <!DOCTYPE html>
<html>
<head>
<style>
pre {
font-family: 'Operator Mono SSm';
}
.ss08 {
font-feature-settings: 'ss08';
}
</style>
</head>
<body>
<h2>Without Stylistic Set 08 Enabled</h2>
<pre>
.block__elem { color: #042; }
.block__elem--modifier { color: #420; }
</pre>
<h2>With Stylistic Set 08 Enabled</h2>
<pre class="ss08">
.block__elem { color: #042; }
.block__elem--modifier { color: #420; }
</pre>
</body>
</html> The issue is that there isn't an easy to way to enable microsoft/vscode#6918 The current workaround is to update the |
@kiliman could you please tell me what to add to worbench.main.css? I tried ↓ to no avail: |
I got it to work in VS Code. I also used the Custom CSS and Javascript Loader extension. https://github.com/be5invis/vscode-custom-css This way I didn't need to modify the main css and can add a custom user file. Follow the instructions for the extension. Make sure you add .monaco-editor { |
You’re messing with me right? :-) Your code strips any stylistic sets from the original file. "ss08" only works with the original file but is pointless with the “lig” version. Or is there any other version of your code (unmerged branch maybe)? |
Ah, that could be. Try the |
Yep, that has done the trick, thanks. But maybe you could make this a default behaviour without the need of switching to stylistic set? That would be nice. To avoid installing any extension: find every mention of the
P. S. Please keep up with the good work. I’ve reached out guys from Hoeffler. The response was, basically, no current plans for an update:
|
Closed by 95503e2 |
Please use the |
BEM web naming convention uses a lot of double underscores.
As of now Operator shows a little gap between two undercores. Would be nice to have it eliminated as in 7.2 Stylistic Sets Operator Mono (see “connected underscore”).
The text was updated successfully, but these errors were encountered: