Article version: Enterprise Server 2.13

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-03-27. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Page build failed: Markdown errors

If your GitHub Pages code contains Markdown errors, your GitHub Pages site will not build.

If your GitHub Pages site fails to build because of invalid Markdown, you'll receive an email that looks like this:

Subject: Page build failed

The page build failed with the following error:

The file `example.md` contains markdown errors.

You will only receive an email if outbound email support is enabled on your Enterprise instance. For more information, contact your site administrator.

Troubleshooting Markdown errors

Tip: We strongly recommend running Jekyll locally so you can easily debug and fix build errors before pushing to your GitHub Enterprise Server instance. To learn more about troubleshooting options, see "Troubleshooting GitHub Pages builds."

If you are not using kramdown as your Markdown processor, then you must update your Markdown processor to kramdown. GitHub Pages only supports kramdown.

Make sure the file mentioned in the email uses valid Markdown syntax. See "Getting started with writing and formatting on GitHub" for more help or the Daring Fireball Markdown guide for a more complete guide to Markdown syntax.

Once you've fixed any Markdown errors, you will need to commit your changes and push to your GitHub Pages repository again to trigger another build on the server.

Ask a human

Can't find what you're looking for?

Contact us