Header character within blockquotes #320

Closed
opened 2026-01-29 14:33:45 +00:00 by claunia · 2 comments
Owner

Originally created by @LukeTOBrien on GitHub (Aug 9, 2019).

Version: 0.17.1

Hi there,

I just wondered if you're done testing with header character (#) within blockquotes?

Just now I compiled a presentation I have written to teach kids about programming, in one of my slides I have:

> In C# we can do this: 

It seems the # was compiled into <h1> when I wanted it ignored as text.
Even if I surrond the has in code block ```` it still compiles it as <h1> when it should be text.

Can you have a look at replicating this?

Originally created by @LukeTOBrien on GitHub (Aug 9, 2019). Version: 0.17.1 Hi there, I just wondered if you're done testing with header character (`#`) within blockquotes? Just now I compiled a presentation I have written to teach kids about programming, in one of my slides I have: ```markdown > In C# we can do this: ``` It seems the `#` was compiled into `<h1>` when I wanted it ignored as text. Even if I surrond the has in code block ```` it still compiles it as `<h1>` when it should be text. Can you have a look at replicating this?
Author
Owner

@MihaZupan commented on GitHub (Aug 10, 2019):

I can't reproduce this for the given input, see babelmark

@MihaZupan commented on GitHub (Aug 10, 2019): I can't reproduce this for the given input, see [babelmark](https://babelmark.github.io/?text=%3E+In+C%23+we+can+do+this)
Author
Owner

@LukeTOBrien commented on GitHub (Aug 10, 2019):

You are quite right, I just created a .NET Fiddle and it seems to be okay.
Perhaps it is a problem on my side, I am doing some processing as well as Markdown compilation.

I will close the issue.

@LukeTOBrien commented on GitHub (Aug 10, 2019): You are quite right, [I just created a .NET Fiddle](https://dotnetfiddle.net/avFITy) and it seems to be okay. Perhaps it is a problem on my side, I am doing some processing as well as Markdown compilation. I will close the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#320