From b42ad5dc346cf46f29753d5e2ab83eba52b7f828 Mon Sep 17 00:00:00 2001 From: Jacob Childress Date: Thu, 30 Jun 2016 11:48:21 -0500 Subject: [PATCH] Updated highlight.js dependency to 9.5.0. Updated test fixture to account for markup changes in highlight.js. Because highlight.js output has changed in a backwards-incompatible way, updated version to 2.0.0. --- package.json | 4 ++-- test/fixture/build/csharp.md | 4 ++-- test/fixture/expected/csharp.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8755e04..67ebb2c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "metalsmith-metallic", "description": "A Metalsmith plugin to hightlight code blocks in markdown using highlight.js.", "repository": "git://github.com/weswigham/metalsmith-metallic.git", - "version": "1.0.0", + "version": "2.0.0", "license": "MIT", "main": "lib/index.js", "scripts": { @@ -10,7 +10,7 @@ }, "dependencies": { "debug": "~2.1", - "highlight.js": "~8.9.1", + "highlight.js": "~9.5.0", "entities": "~1.1" }, "devDependencies": { diff --git a/test/fixture/build/csharp.md b/test/fixture/build/csharp.md index 874c097..49432cb 100644 --- a/test/fixture/build/csharp.md +++ b/test/fixture/build/csharp.md @@ -1,10 +1,10 @@
using System;
 
-#pragma warning disable 414, 3021
+#pragma warning disable 414, 3021
 
 public class Program
 {
-    /// <summary>The entry point to the program.</summary>
+    /// <summary>The entry point to the program.</summary>
     public static int Main(string[] args)
     {
         Console.WriteLine("Hello, World!");
diff --git a/test/fixture/expected/csharp.md b/test/fixture/expected/csharp.md
index 874c097..49432cb 100644
--- a/test/fixture/expected/csharp.md
+++ b/test/fixture/expected/csharp.md
@@ -1,10 +1,10 @@
 
using System;
 
-#pragma warning disable 414, 3021
+#pragma warning disable 414, 3021
 
 public class Program
 {
-    /// <summary>The entry point to the program.</summary>
+    /// <summary>The entry point to the program.</summary>
     public static int Main(string[] args)
     {
         Console.WriteLine("Hello, World!");