Skip to content

Commit

Permalink
Update markdown code block implementation in line with framework changes
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Feb 17, 2024
1 parent 414e55c commit 91675e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

namespace osu.Game.Graphics.Containers.Markdown
{
public partial class OsuMarkdownFencedCodeBlock : MarkdownFencedCodeBlock
public partial class OsuMarkdownCodeBlock : MarkdownCodeBlock

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 13 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownCodeBlock.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)
{
// TODO : change to monospace font for this component
public OsuMarkdownFencedCodeBlock(FencedCodeBlock fencedCodeBlock)
: base(fencedCodeBlock)
public OsuMarkdownCodeBlock(CodeBlock codeBlock)
: base(codeBlock)
{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected override void AddMarkdownComponent(IMarkdownObject markdownObject, Fil

protected override MarkdownHeading CreateHeading(HeadingBlock headingBlock) => new OsuMarkdownHeading(headingBlock);

protected override MarkdownFencedCodeBlock CreateFencedCodeBlock(FencedCodeBlock fencedCodeBlock) => new OsuMarkdownFencedCodeBlock(fencedCodeBlock);
protected override MarkdownCodeBlock CreateCodeBlock(CodeBlock codeBlock) => new OsuMarkdownCodeBlock(codeBlock);

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Code Quality

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Code Quality

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (macOS, macos-latest, SingleThread)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The type or namespace name 'MarkdownCodeBlock' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 70 in osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

'OsuMarkdownContainer.CreateCodeBlock(CodeBlock)': no suitable method found to override

protected override MarkdownSeparator CreateSeparator(ThematicBreakBlock thematicBlock) => new OsuMarkdownSeparator();

Expand Down

0 comments on commit 91675e0

Please sign in to comment.