Comments (11)
I'm on Mac 12.4
from fsharp.formatting.
Hi there,
Are you sure?
I was able to copy the code and paste it just fine in F# interactive.
from fsharp.formatting.
@aski-codes what browser are you using?
It renders with proper spacing on Edge and mobile safari.
from fsharp.formatting.
Worked for me in Chrome.
from fsharp.formatting.
Hmm, it looks cleaner in your browser, somehow. I'm on Firefox 117.01
from fsharp.formatting.
It does show slightly off in Firefox for me as well:
Although copy-pasting it from there still worked for me.
from fsharp.formatting.
If I do a straight copy, I get:
"(4,2): error FS0010: Unexpected identifier in binding. Expected incomplete structured construct at or before this point or other token."
It looks exactly like the web page, but I noticed a blank starting line 4. If I remove it, so that "input" in line 4 aligns with "let" in line 1, I instead get:
"(1,15): error FS3217: This expression is not a function and cannot be applied. Did you intend to access the indexer via 'expr[index]'?"
from fsharp.formatting.
When I do straight copy+paste from firefox it works correctly. I am on windows 11 and it works. What platform are you on @aski-codes?
I tried pasting directly into dotnet fsi from terminal and vs code, both were correctly aligned.
from fsharp.formatting.
Note: Google search shows various rendering problems for google fonts (we use roboto mono) on firefox, and particularly macOS.
Seems to be related to fontweight. When I uncheck "font-weight: 600" in the css in the firefox inspector, the spacing is correct.
from fsharp.formatting.
Thanks, how do you get to that place in inspector, I can't seem to match it...
![billede](https://private-user-images.githubusercontent.com/145867884/273866097-6cda733b-3dd7-4179-9326-a5fdefb10b94.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MjExNjgsIm5iZiI6MTcyMTcyMDg2OCwicGF0aCI6Ii8xNDU4Njc4ODQvMjczODY2MDk3LTZjZGE3MzNiLTNkZDctNDE3OS05MzI2LWE1ZmRlZmIxMGI5NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyM1QwNzQ3NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNTcxZjM0NzUxYjMxYTQzOGM2NTM2MDE0NDY3MDc0ZGNhNzY3NWQ2NzEyY2I4N2E3MjA2ZDAxNGNiMDIyNDQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.T9wwaq9_BSUlrm3s-iOqR1TThpn5KvY61HYTQGnmuPU)
Seems to be related to fontweight. When I uncheck "font-weight: 600" in the css in the firefox inspector, the spacing is correct.
from fsharp.formatting.
looks fine now, thanks so much!
from fsharp.formatting.
Related Issues (20)
- Directory.Build.props is ignored if there are no projects or solutions HOT 3
- SEO-optimization for new theme HOT 4
- Suggestion: init command
- Dark mode borders: too much contrast?
- Namespace description overflows content box
- Output font size on mobile safari is too big HOT 6
- Using testcontainers in a fsx script gives wrong output HOT 7
- Create a keyword/glossary site map
- add .dib notebook support HOT 6
- --watch expectation HOT 1
- Suggestion: auto-expansion of `<details>…</details>` for direct links HOT 12
- Can FSharp.Formatting support documenting programs? HOT 1
- Enable `watch` server from arbitrary host HOT 4
- Is it possible to generate an HTML AST from Markdown? HOT 1
- Nesting Document Categories HOT 1
- Include images in documentation in generated content HOT 17
- Use signature-like for documenting the API HOT 6
- Making a change to `content/fsdocs-default.css` cause an infinite update loop
- Use `Ctrl+C` instead of allowing any key press to kill the process
- Replace `ApiDocMemberDetails` union with a record
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsharp.formatting.