Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated highlight.js dependency to 9.5.0. #11

Merged
merged 1 commit into from
Oct 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"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": {
"test": "mocha"
},
"dependencies": {
"debug": "~2.1",
"highlight.js": "~8.9.1",
"highlight.js": "~9.5.0",
"entities": "~1.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/fixture/build/csharp.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<pre><code class="hljs csharp"><span class="hljs-keyword">using</span> System;

<span class="hljs-preprocessor">#<span class="hljs-keyword">pragma</span> <span class="hljs-keyword">warning</span> disable 414, 3021</span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">pragma</span> <span class="hljs-meta-keyword">warning</span> disable 414, 3021</span>

<span class="hljs-keyword">public</span> <span class="hljs-keyword">class</span> <span class="hljs-title">Program</span>
{
<span class="hljs-comment"><span class="hljs-xmlDocTag">///</span> <span class="hljs-xmlDocTag">&lt;summary&gt;</span>The entry point to the program.<span class="hljs-xmlDocTag">&lt;/summary&gt;</span></span>
<span class="hljs-comment"><span class="hljs-doctag">///</span> <span class="hljs-doctag">&lt;summary&gt;</span>The entry point to the program.<span class="hljs-doctag">&lt;/summary&gt;</span></span>
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">int</span> <span class="hljs-title">Main</span>(<span class="hljs-params"><span class="hljs-keyword">string</span>[] args</span>)
</span>{
Console.WriteLine(<span class="hljs-string">"Hello, World!"</span>);
Expand Down
4 changes: 2 additions & 2 deletions test/fixture/expected/csharp.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<pre><code class="hljs csharp"><span class="hljs-keyword">using</span> System;

<span class="hljs-preprocessor">#<span class="hljs-keyword">pragma</span> <span class="hljs-keyword">warning</span> disable 414, 3021</span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">pragma</span> <span class="hljs-meta-keyword">warning</span> disable 414, 3021</span>

<span class="hljs-keyword">public</span> <span class="hljs-keyword">class</span> <span class="hljs-title">Program</span>
{
<span class="hljs-comment"><span class="hljs-xmlDocTag">///</span> <span class="hljs-xmlDocTag">&lt;summary&gt;</span>The entry point to the program.<span class="hljs-xmlDocTag">&lt;/summary&gt;</span></span>
<span class="hljs-comment"><span class="hljs-doctag">///</span> <span class="hljs-doctag">&lt;summary&gt;</span>The entry point to the program.<span class="hljs-doctag">&lt;/summary&gt;</span></span>
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">int</span> <span class="hljs-title">Main</span>(<span class="hljs-params"><span class="hljs-keyword">string</span>[] args</span>)
</span>{
Console.WriteLine(<span class="hljs-string">"Hello, World!"</span>);
Expand Down