Bold text not working #380

Closed
opened 2026-01-29 14:35:23 +00:00 by claunia · 1 comment
Owner

Originally created by @FionaHolder on GitHub (Jul 10, 2020).

I have a very simple test set up and it doesn't seem to be picking up on emphasis at all. Am I configuring or using this wrong? It seems like a very basic use case.

I'm using the Nuget package in ASP.NET Core: Markdig.Markdown.ToHtml(markdown);

The markdown is ## Big heading\nHello this is some text on my page. **This bit is bold. **\n

The HTML I get back is <h2>Big heading</h2>\n<p>Hello this is some text on my page. **This bit is bold. **</p>\n

Originally created by @FionaHolder on GitHub (Jul 10, 2020). I have a very simple test set up and it doesn't seem to be picking up on emphasis at all. Am I configuring or using this wrong? It seems like a very basic use case. I'm using the Nuget package in ASP.NET Core: `Markdig.Markdown.ToHtml(markdown);` The markdown is `## Big heading\nHello this is some text on my page. **This bit is bold. **\n` The HTML I get back is `<h2>Big heading</h2>\n<p>Hello this is some text on my page. **This bit is bold. **</p>\n`
claunia added the questioninvalid labels 2026-01-29 14:35:23 +00:00
Author
Owner

@xoofx commented on GitHub (Jul 10, 2020):

It is expected as per CommonMark specs: the space just before the trailing ** must be removed, you can try it here

## Big heading

Hello this is some text on my page. **This bit is bold.**
@xoofx commented on GitHub (Jul 10, 2020): It is expected as per CommonMark specs: the space just before the trailing `**` must be removed, you can try it [here](https://babelmark.github.io/?text=%23%23+Big+heading%0A%0AHello+this+is+some+text+on+my+page.+**This+bit+is+bold.+**) ```markdown ## Big heading Hello this is some text on my page. **This bit is bold.** ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#380