From 70999e2599d5255788011c508b2388059cc8bc77 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 12 Sep 2014 20:29:18 -0700 Subject: [PATCH 1/2] Add language names to ``` fences --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc31f1e..f0b9d07 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,19 @@ With all this internet going around, sometimes you just want to experience the t ## Lets slow things down! 1. Include comcastify.js on your page or use the latest version from our CDN: - `````` + ```html + + ``` 2. Prepare the images on your page on document ready (so images don't show up before the box): - ``` + ```js comcastifyjs.letsPrepareTheseImages(); ``` 3. Initialize comcastify on window load (so image sizes are properly calculated): - ``` + ```js comcastifyjs.fixMyImagesLoadingSoFast({ boxColor: '#123456', loadMaxPercent: 0.75, From 3ddc50abdf678411a7c9dcc445cc307ed1f87bcf Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 12 Sep 2014 20:34:18 -0700 Subject: [PATCH 2/2] Align code blocks --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0b9d07..48f31eb 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ With all this internet going around, sometimes you just want to experience the t ## Lets slow things down! 1. Include comcastify.js on your page or use the latest version from our CDN: - ```html - - ``` + ```html + + ``` 2. Prepare the images on your page on document ready (so images don't show up before the box):