зеркало из https://github.com/github/docs.git
2.1 KiB
2.1 KiB
title | intro | redirect_from | product | versions | topics | shortTitle | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Setting a Markdown processor for your GitHub Pages site using Jekyll | You can choose a Markdown processor to determine how Markdown is rendered on your {% data variables.product.prodname_pages %} site. |
|
{% data reusables.gated-features.pages %} |
|
|
Set Markdown processor |
People with write permissions for a repository can set the Markdown processor for a {% data variables.product.prodname_pages %} site.
{% data variables.product.prodname_pages %} supports two Markdown processors: kramdown and {% data variables.product.prodname_dotcom %}'s own Markdown processor, which is used to render {% data variables.product.prodname_dotcom %} Flavored Markdown (GFM) throughout {% data variables.product.product_name %}. For more information, see "AUTOTITLE."
You can use {% data variables.product.prodname_dotcom %} Flavored Markdown with either processor.
{% data reusables.pages.navigate-site-repo %}
- In your repository, browse to the _config.yml file. {% data reusables.repositories.edit-file %}
- Find the line that starts with
markdown:
and change the value tokramdown
orGFM
. The full line should readmarkdown: kramdown
ormarkdown: GFM
. {% data reusables.files.write_commit_message %} {% data reusables.files.choose-commit-email %} {% data reusables.files.choose_commit_branch %} {% data reusables.files.propose_new_file %}