Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
with:
dotnet-version: 9.0.x

- name: Install .NET 10
uses: actions/setup-dotnet@v1
with:
dotnet-version: 10.0.x

- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Install .NET 9
- name: Install .NET 10
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x
dotnet-version: 10.0.x

- name: Checkout repository
uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.8" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.1" />
<PackageReference Include="System.Reactive" Version="6.1.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/SSR/MudBlazor.Markdown.SSR.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/Server/MudBlazor.Markdown.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions samples/WebAssembly/MudBlazor.Markdown.Wasm.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.1" PrivateAssets="all" />
<PackageReference Include="ReactiveUI.Blazor" Version="22.3.1" />
<PackageReference Include="System.Net.Http.Json" Version="9.0.8" />
<PackageReference Include="System.Net.Http.Json" Version="10.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/MudBlazor.Markdown/MudBlazor.Markdown.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MudBlazor</RootNamespace>
<Version>8.11.0</Version>
<Version>9.0.0-preview.1</Version>
<Authors>MyNihongo</Authors>
<Description>Markdown component for MudBlazor (https://mudblazor.com/)</Description>
<Copyright>Copyright © 2025 MyNihongo</Copyright>
<Copyright>Copyright © 2026 MyNihongo</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/MyNihongo/MudBlazor.Markdown</RepositoryUrl>
<PackageProjectUrl>https://mudblazor.com/</PackageProjectUrl>
Expand All @@ -22,7 +22,7 @@

<ItemGroup>
<PackageReference Include="Markdig" Version="0.44.0" />
<PackageReference Include="MudBlazor" Version="8.15.0" />
<PackageReference Include="MudBlazor" Version="9.0.0-preview.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void RenderLinkWithMultipleContent()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a href='#installing-microsoft-visual-c-redistributable-package' role='button' blazor:onclick:preventDefault blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a href='#installing-microsoft-visual-c-redistributable-package' role='button' blazor:onclick:preventDefault blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
Installing Microsoft Visual C++ Redistributable Package
</a>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ public void OverrideAllLinks()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a rel='noopener noreferrer' href='overriddenhttps://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a rel='noopener noreferrer' href='overriddenhttps://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
absolute
</a>
<a href='overridden/tokyo' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a href='overridden/tokyo' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
relative
</a>
<a href='overridden#edogawa' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a href='overridden#edogawa' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
id
</a>
</p>
Expand Down Expand Up @@ -327,7 +327,7 @@ public void RenderExternalLinkWithoutTarget()
"""
<article id:ignore class="mud-markdown-body">
<p class="mud-typography mud-typography-body1">
<a rel="noopener noreferrer" href="https://mudblazor.com/" class="mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1">
<a rel="noopener noreferrer" href="https://mudblazor.com/" class="mud-typography mud-link mud-primary-text mud-link-underline-hover">
link display
</a>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void RenderExternalLink()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
link display
</a>
</p>
Expand All @@ -181,7 +181,7 @@ public void RenderInternalLink()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a href='http://localhost:1234/' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a href='http://localhost:1234/' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
link display
</a>
</p>
Expand All @@ -201,7 +201,7 @@ public void RenderLinkAsLink()
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
text before
<a href='123' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>link display</a>
<a href='123' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>link display</a>
text after
</p>
</article>
Expand All @@ -219,7 +219,7 @@ public void PreventDefaultIfNavigatesToId()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a href='#id' role='button' blazor:onclick:preventDefault blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a href='#id' role='button' blazor:onclick:preventDefault blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
link
</a>
</p>
Expand All @@ -238,7 +238,7 @@ public void NotPreventDefaultIfNavigateToAnotherPage()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a blazor:onclick='2' href='tokyo/#id' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a blazor:onclick='2' href='tokyo/#id' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
link
</a>
</p>
Expand Down Expand Up @@ -274,7 +274,7 @@ public void RenderImageLink()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.google.co.jp/' target='_blank' class='mud-typography mud-link mud-primary-text mud-link-underline-hover'>
<img src='extra/emw.png' alt='emw-banner' class='mud-image object-fill object-center mud-elevation-25 rounded-lg'>
</a>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public void RenderLinkUnderlineAlways()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.mynihongo.org/' target='_blank' blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-always mud-typography-body1'>my link</a>
<a rel='noopener noreferrer' href='https://www.mynihongo.org/' target='_blank' blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-always'>my link</a>
</p>
</article>
""";
Expand All @@ -253,7 +253,7 @@ public void RenderLinkUnderlineNone()
"""
<article id:ignore class='mud-markdown-body'>
<p class='mud-typography mud-typography-body1'>
<a rel='noopener noreferrer' href='https://www.mynihongo.org/' target='_blank' blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-none mud-typography-body1'>my link</a>
<a rel='noopener noreferrer' href='https://www.mynihongo.org/' target='_blank' blazor:onclick='1' class='mud-typography mud-link mud-primary-text mud-link-underline-none'>my link</a>
</p>
</article>
""";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
Expand Down
Loading