From 127704ad1775eade80bc4a920de73ed0e0970e13 Mon Sep 17 00:00:00 2001 From: alexmalik Date: Sat, 1 Oct 2016 23:14:12 +0100 Subject: [PATCH] Replace backticks with HTML tags Prior to the change backticks were used in an attempt to create a code block. The problem is that inside block level HTML tags Markdown is not supported. I have replaced the backticks with a combination of HTML tags in order to approximately simulate the appearance of a code block. The docs suggest possible use of span tags in place of the surrounding div tags as a solution to getting the Markdown to render. I tried this but no success. This change improves the readers understanding of the information, because the reader doesn't have to make sense of raw markdown. --- docs/_docs/github-pages.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/docs/_docs/github-pages.md b/docs/_docs/github-pages.md index b65bad90..f07af766 100644 --- a/docs/_docs/github-pages.md +++ b/docs/_docs/github-pages.md @@ -54,26 +54,22 @@ few minor details. currently-deployed version of the gem in your project, add the following to your Gemfile: -```ruby -source 'https://rubygems.org' +

source 'https://rubygems.org'

-require 'json' -require 'open-uri' -versions = JSON.parse(open('https://pages.github.com/versions.json').read) +

require 'json'

+

require 'open-uri'

+

versions = JSON.parse(open('https://pages.github.com/versions.json').read)

-gem 'github-pages', versions['github-pages'] -``` +

gem 'github-pages', versions['github-pages']

This will ensure that when you run bundle install, you have the correct version of the github-pages gem. If that fails, simplify it: -```ruby -source 'https://rubygems.org' +

source 'https://rubygems.org'

-gem 'github-pages' -``` +

gem 'github-pages'

And be sure to run bundle update often.