Skip to content

Commit fedd858

Browse files
committed
fixed linting errors
1 parent ffedd49 commit fedd858

File tree

3 files changed

+31
-34
lines changed

3 files changed

+31
-34
lines changed

use/linux/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ headline: Use F# on Linux
77
<div class="space-y-4 sm:space-y-8 lg:space-y-12">
88
<article markdown=1 class="prose-card">
99
## Option 1: Install the CLI tools and use your own editor
10-
<img class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
10+
<img alt=".NET Core Logo" class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
1111

1212
Install the [.NET SDK](https://dotnet.microsoft.com/download). .NET is available for major Linux distributions and is typically installed with the system package manager of your distribution of choice.
1313

@@ -21,19 +21,19 @@ printfn "Hello World from F#"
2121

2222
Now compile and run this F# script with the following command:
2323

24-
```
24+
```bash
2525
dotnet fsi hello.fsx
2626
```
2727

2828
If this is your first time using .NET, there will be a short, one-time message about using the .NET SDK. After that, you'll see the following output in your console:
2929

30-
```
31-
Hello World from F#
32-
```
30+
31+
Hello World from F#
32+
3333

3434
To create a project use
3535

36-
```
36+
```bash
3737
dotnet new console --language F#
3838
dotnet run
3939
```
@@ -46,9 +46,9 @@ For more information see [Getting started with the F# command line tools](https:
4646
<article markdown=1 class="prose-card">
4747
## Option 2: Install Visual Studio Code and Ionide
4848
<div class="flex flex-row gap-4 items-center">
49-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
49+
<img alt="Visual Studio Code Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
5050
<i class="fa-solid fa-plus fa-xl"></i>
51-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
51+
<img alt="Ionide Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
5252
</div>
5353
[Visual Studio Code](https://code.visualstudio.com) is a free, [open source](https://github.com/microsoft/vscode), cross platform source code editor
5454
supporting [a lot of languages](https://code.visualstudio.com/docs/languages/overview).
@@ -71,7 +71,7 @@ Ionide works best if you use the .NET CLI to create your projects. You can learn
7171

7272
## Option 3: Install JetBrains Rider
7373

74-
<img class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
74+
<img alt="Jetbrains Rider Logo" class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
7575

7676
[JetBrains Rider](https://www.jetbrains.com/rider) is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET applications on all platforms.
7777

@@ -84,8 +84,8 @@ Copyright © 2025 JetBrains s.r.o. Rider and the Rider logo are trademarks of Je
8484
</article>
8585
<article markdown=1 class="prose-card">
8686
## Option 4: Build F# from source
87-
<img class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
88-
<img class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
87+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
88+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
8989

9090
You can build and contribute to the F# compiler and library from [the source](https://github.com/dotnet/fsharp).
9191
</article>

use/mac/index.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ headline: Use F# on macOS
77
<div class="space-y-4 sm:space-y-8 lg:space-y-12">
88
<article markdown=1 class="prose-card">
99
## Option 1: Install the CLI tools and use your own editor
10-
<img class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
10+
<img alt=".NET Core Logo" class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
1111

1212
Install the [.NET SDK](https://dotnet.microsoft.com/download).
1313

@@ -21,19 +21,17 @@ printfn "Hello World from F#"
2121

2222
Now compile and run this F# script with the following command:
2323

24-
```
24+
```bash
2525
dotnet fsi hello.fsx
2626
```
2727

2828
If this is your first time using .NET Core, there will be a short, one-time message about using the .NET SDK. After that, you'll see the following output in your console:
2929

30-
```
31-
Hello World from F#
32-
```
30+
Hello World from F#
3331

3432
To create a project use
3533

36-
```
34+
```bash
3735
dotnet new console --language F#
3836
dotnet run
3937
```
@@ -47,9 +45,9 @@ For more information see [Getting started with the F# command line tools](https:
4745
<article markdown=1 class="prose-card">
4846
## Option 2: Install Visual Studio Code and Ionide
4947
<div class="flex flex-row gap-4 items-center">
50-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
48+
<img alt="Visual Studio Code Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
5149
<i class="fa-solid fa-plus fa-xl"></i>
52-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
50+
<img alt="Ionide Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
5351
</div>
5452
[Visual Studio Code](https://code.visualstudio.com) is a free, [open source](https://github.com/microsoft/vscode), cross platform source code editor
5553
supporting [a lot of languages](https://code.visualstudio.com/docs/languages/overview).
@@ -71,7 +69,7 @@ Ionide works best if you use the .NET CLI to create your projects. You can learn
7169

7270
<article markdown=1 class="prose-card">
7371
## Option 3: Install JetBrains Rider
74-
<img class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
72+
<img alt="Jetbrains Rider Logo" class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
7573
[JetBrains Rider](https://www.jetbrains.com/rider) is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms.
7674

7775
You can install [JetBrains Rider from here](https://www.jetbrains.com/rider/download/).
@@ -84,8 +82,8 @@ Copyright © 2025 JetBrains s.r.o. Rider and the Rider logo are trademarks of Je
8482

8583
<article markdown=1 class="prose-card">
8684
## Option 4: Build F# from source
87-
<img class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
88-
<img class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
85+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
86+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
8987

9088
You can build and contribute to the F# compiler and library from [the source](https://github.com/dotnet/fsharp).
9189

use/windows/index.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ headline: Use F# on Windows
77
<div class="space-y-4 sm:space-y-8 lg:space-y-12">
88
<article markdown=1 class="prose-card">
99
## Option 1: Install the CLI tools and use your own editor
10-
<img class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
10+
<img alt=".NET Core Logo" class="w-24 h-24 m-0" src="{{ '../../images/thumbs/NET_Core_Logo.svg' | relative_url }}" />
1111

1212
Install the [.NET Core SDK](https://dotnet.microsoft.com/download). Once that is installed, you can begin using F#!
1313

@@ -19,19 +19,17 @@ printfn "Hello World from F#"
1919

2020
Now compile and run this F# script with the following command:
2121

22-
```
22+
```cmd
2323
dotnet fsi hello.fsx
2424
```
2525

2626
If this is your first time using .NET Core, there will be a short, one-time message about using the .NET SDK. After that, you'll see the following output in your console:
2727

28-
```
29-
Hello World from F#
30-
```
28+
Hello World from F#
3129

3230
To create a project use
3331

34-
```
32+
```cmd
3533
dotnet new console --language F#
3634
dotnet run
3735
```
@@ -44,9 +42,9 @@ For more information see [Getting started with the F# command line tools](https:
4442
<article markdown=1 class="prose-card">
4543
## Option 2: Install Visual Studio Code and Ionide
4644
<div class="flex flex-row gap-4 items-center">
47-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
45+
<img alt="Visual Studio Code Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/Visual_Studio_Code_1.35_icon.svg' | relative_url }}" />
4846
<i class="fa-solid fa-plus fa-xl"></i>
49-
<img class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
47+
<img alt="Ionide Logo" class="h-24 aspect-auto m-0" src="{{ '../../images/thumbs/ionide_logo.png' | relative_url }}" />
5048
</div>
5149
Visual Studio Code](https://code.visualstudio.com) is a free, [open source](https://github.com/microsoft/vscode), cross platform source code editor
5250
supporting [a lot of languages](https://code.visualstudio.com/docs/languages/overview).
@@ -67,19 +65,20 @@ Ionide works best if you use the .NET CLI to create your projects. You can learn
6765
</article>
6866
<article markdown=1 class="prose-card">
6967
## Option 3: Install Visual Studio
70-
<img class="w-24 h-24 m-0" src="{{ '../../images/thumbs/Visual_Studio_Icon_2022.svg' | relative_url }}" />
68+
<img alt="Visual Studio 2022 Logo" class="w-24 h-24 m-0" src="{{ '../../images/thumbs/Visual_Studio_Icon_2022.svg' | relative_url }}" />
7169

7270
On Windows, F# programmers commonly use the Visual Studio tools for F#.
7371

7472
- [Visual Studio 2019](https://www.visualstudio.com/downloads/) comes with F# support in all its editions: Community, Professional and Enterprise. Community is completely free. See [Get started with F# in Visual Studio](https://docs.microsoft.com/dotnet/fsharp/get-started/get-started-visual-studio) for more information.
7573

7674
- If you already have an older version of Visual Studio, F# is also supported. But the quality of the tooling support and number of features is not as high as in Visual Studio 2019.
75+
7776
</article>
7877
<article markdown=1 class="prose-card">
7978

8079
## Option 4: Install JetBrains Rider
8180

82-
<img class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
81+
<img alt="Jetbrains Rider Logo" class="h-24 aspect-auto m-0" src="{{ "../../images/thumbs/Rider_icon.svg" | relative_url }}" />
8382

8483
[JetBrains Rider](https://www.jetbrains.com/rider) is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms.
8584

@@ -96,8 +95,8 @@ Copyright © 2025 JetBrains s.r.o. Rider and the Rider logo are trademarks of Je
9695
</article>
9796
<article markdown=1 class="prose-card">
9897
## Option 5: Build F# from source
99-
<img class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
100-
<img class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
98+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 dark:hidden" src="{{ "../../images/thumbs/github-mark.svg" | relative_url }}" />
99+
<img alt="GitHub Logo" class="h-24 aspect-auto m-0 hidden dark:block" src="{{ "../../images/thumbs/github-mark-white.svg" | relative_url }}" />
101100

102101
You can build and contribute to the F# compiler and library from [the source](https://github.com/dotnet/fsharp).
103102

0 commit comments

Comments
 (0)