1
1
mirror of https://github.com/primer/css.git synced 2025-01-06 22:36:48 +03:00

parse backticks without breaking the markdown line

While this fixes the backtick-on-backtick problem by using a zero-width space, it's still confusing to see `erb` in the source code while referencing `html` in the copy.
This commit is contained in:
Vinicius Depizzol 2019-07-22 13:12:20 -07:00 committed by GitHub
parent b56689bbc3
commit 0698c4fd80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,8 +117,8 @@ Typically the file will look something like this:
Which consists of three parts:
1. **YML frontmatter** _(optional)_, similar to jekylls frontmatter, this is used to generate the sidebar and title components.
2. **Docs section** _(required)_, This is the section between the YML and the first `````html`
3. **The example section** _(optional)_, This section is denoted by ````html` and will render into an example used in the page. This can contain rails helpers also eg. `<%= octicons 'fire' %>`
2. **Docs section** _(required)_, This is the section between the YML and the first ````html`
3. **The example section** _(optional)_, This section is denoted by ````html` and will render into an example used in the page. This can contain rails helpers also eg. `<%= octicons 'fire' %>`
The options you have for the frontmatter are outlined below: