Code block in expandable denoted section > [!Note] confuses the parser

Steps to reproduce

  • Create a denoted section with the following text (exclude external code block):
> [!Example]-
> ```csharp
> public class InteractionManager
> {
>      public const float MAX_THROW_ACCELERATION = 3f;
> 	 private static readonly debug_rejected_interaction_highlight = new Color(1, 1, 1);
> 	 private readonly OrderedSet<IInteractor> _registeredInteractors = new();
> 	 private readonly OrderedSet<IInteractable> _registeredInteractables = new();
> 	 public IReadOnlyCollection<IInteraction> OngoingInteractions => _ongoingInteractions;
> }
> ```

Did you follow the troubleshooting guide? [Y/N]

There is no such guide for that case

Expected result

I want a code blocks inside expandable section to look correct.

Actual result

Parser is seems to be confused with ‘<’ character

Environment


Additional information

That is how actually my code looks after the parser going nuts inside code block.

Thanks, the search didn’t gave me this other issue since my wording is different :smiley:
Also, escaping the opening angle brackets is fixing the parser, but then the code is messed up: