Shuai Wang
Shuai Wang

Reputation: 75

Github pages + Jekyll didn't parse the markdown correctly?

I am building a blog site using Github pages + Jekyll, everything seems correct except that the head command #, you can find the display in hello webpage, I am sorry that the content is in Chinese, it seems that the head command is not properly parsed. The github repository is github, I tried to fix it but failed. Thanks a lot.

In markdown, we use

# Header 1 ## Header 2 ### Header 3

which will be parsed as

Header 1

Header 2

Header 3

to represent different layers of bold fonts, used for section name. in my blog you can see though the header has been bold, symbol # is still there.

Upvotes: 0

Views: 188

Answers (1)

Alex Palcuie
Alex Palcuie

Reputation: 4984

It's not from Jekyll, it's from anchor-js, a script that was configured by your theme. I see you can disable it by setting this line to false.

Upvotes: 3

Related Questions