diff --git a/contributing/content-markup-reference.md b/contributing/content-markup-reference.md index ed376df1a3..2735113fa7 100644 --- a/contributing/content-markup-reference.md +++ b/contributing/content-markup-reference.md @@ -38,10 +38,10 @@ For information on when to use callout tags, see the [style guide](content-style To render syntax highlighting in command line instructions, we use triple backticks followed by the term `shell`. -### Usage - - ```shell - git init YOUR_REPO +### Usage + + ```shell + git init YOUR_REPO ``` This syntax highlighting renders light text on a dark background, and should be reserved for command line instructions. @@ -93,13 +93,6 @@ These instructions are pertinent to Windows users. {% endlinux %} ``` -``` -{% all %} - -Though rare, these instructions are pertinent to any other operating system. - -{% endall %} -``` ## Reusable and variable strings of text diff --git a/includes/article.html b/includes/article.html index 1cb51179ca..9b73446cec 100644 --- a/includes/article.html +++ b/includes/article.html @@ -35,7 +35,6 @@ Mac Windows Linux - All {% endif %} diff --git a/lib/frontmatter.js b/lib/frontmatter.js index d56fb939f2..c22059679b 100644 --- a/lib/frontmatter.js +++ b/lib/frontmatter.js @@ -104,7 +104,7 @@ const schema = { // Platform-specific content preference defaultPlatform: { type: 'string', - enum: ['mac', 'windows', 'linux'] // TODO: add 'all'? + enum: ['mac', 'windows', 'linux'] } } } diff --git a/lib/page.js b/lib/page.js index f9274f0119..d1ddef3768 100644 --- a/lib/page.js +++ b/lib/page.js @@ -189,7 +189,7 @@ class Page { const $ = cheerio.load(html) // set a flag so layout knows whether to render a mac/windows/linux switcher element - this.includesPlatformSpecificContent = $('[class^="platform-"], .mac, .windows, .linux, .all').length > 0 + this.includesPlatformSpecificContent = $('[class^="platform-"], .mac, .windows, .linux').length > 0 // rewrite asset paths to s3 if it's a dotcom article on any GHE version // or if it's an enterprise article on any GHE version EXCEPT latest version