Website - Jade should be Pug. Fixes #13

This commit is contained in:
Martin Aeschlimann 2017-06-26 15:41:04 +08:00
parent 7a30ac0613
commit 06c48a7281
6 changed files with 16 additions and 16 deletions

View file

@ -101,8 +101,8 @@ define([], function() { return[
"content": "# Example of a .gitconfig file\r\n\r\n[core]\r\n\trepositoryformatversion = 0\r\n\tfilemode = false\r\n\tbare = false\r\n\tlogallrefupdates = true\r\n\tsymlinks = false\r\n\tignorecase = true\r\n\thideDotFiles = dotGitOnly\r\n\r\n# Defines the master branch\r\n[branch \"master\"]\r\n\tremote = origin\r\n\tmerge = refs/heads/master\r\n" "content": "# Example of a .gitconfig file\r\n\r\n[core]\r\n\trepositoryformatversion = 0\r\n\tfilemode = false\r\n\tbare = false\r\n\tlogallrefupdates = true\r\n\tsymlinks = false\r\n\tignorecase = true\r\n\thideDotFiles = dotGitOnly\r\n\r\n# Defines the master branch\r\n[branch \"master\"]\r\n\tremote = origin\r\n\tmerge = refs/heads/master\r\n"
}, },
{ {
"name": "sample.jade.txt", "name": "sample.pug.txt",
"content": "doctype 5\nhtml(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript')\n if (foo) {\n bar()\n }\n body\n // Disclaimer: You will need to turn insertSpaces to true in order for the\n syntax highlighting to kick in properly (especially for comments)\n Enjoy :)\n h1 Jade - node template engine\n #container\n if youAreUsingJade\n p You are amazing\n else\n p Get on it!" "content": "doctype 5\nhtml(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript')\n if (foo) {\n bar()\n }\n body\n // Disclaimer: You will need to turn insertSpaces to true in order for the\n syntax highlighting to kick in properly (especially for comments)\n Enjoy :)\n h1 Pug - node template engine\n #container\n if youAreUsingPug\n p You are amazing\n else\n p Get on it!"
}, },
{ {
"name": "sample.java.txt", "name": "sample.java.txt",

View file

@ -10,9 +10,9 @@ html(lang="en")
// Disclaimer: You will need to turn insertSpaces to true in order for the // Disclaimer: You will need to turn insertSpaces to true in order for the
syntax highlighting to kick in properly (especially for comments) syntax highlighting to kick in properly (especially for comments)
Enjoy :) Enjoy :)
h1 Jade - node template engine h1 Pug - node template engine
#container #container
if youAreUsingJade if youAreUsingPug
p You are amazing p You are amazing
else else
p Get on it! p Get on it!

View file

@ -26,7 +26,7 @@
'vs/basic-languages/src/handlebars', 'vs/basic-languages/src/handlebars',
'vs/basic-languages/src/html', 'vs/basic-languages/src/html',
'vs/basic-languages/src/ini', 'vs/basic-languages/src/ini',
'vs/basic-languages/src/jade', 'vs/basic-languages/src/pug',
'vs/basic-languages/src/java', 'vs/basic-languages/src/java',
'vs/basic-languages/src/lua', 'vs/basic-languages/src/lua',
'vs/basic-languages/src/markdown', 'vs/basic-languages/src/markdown',

View file

@ -92098,8 +92098,8 @@ window.EXPECTED = [
} }
}, },
{ {
"name": "sample - jade", "name": "sample - pug",
"language": "jade", "language": "pug",
"result": { "result": {
"vs": [ "vs": [
[ [
@ -92288,7 +92288,7 @@ window.EXPECTED = [
"color": "#800000" "color": "#800000"
}, },
{ {
"text": " Jade - node template engine", "text": "Pug- node template engine",
"color": "#000000" "color": "#000000"
} }
], ],
@ -92312,7 +92312,7 @@ window.EXPECTED = [
"color": "#0000ff" "color": "#0000ff"
}, },
{ {
"text": " youAreUsingJade", "text": " youAreUsingPug",
"color": "#000000" "color": "#000000"
} }
], ],
@ -92542,7 +92542,7 @@ window.EXPECTED = [
"color": "#569cd6" "color": "#569cd6"
}, },
{ {
"text": " Jade - node template engine", "text": " Pug - node template engine",
"color": "#d4d4d4" "color": "#d4d4d4"
} }
], ],
@ -92566,7 +92566,7 @@ window.EXPECTED = [
"color": "#569cd6" "color": "#569cd6"
}, },
{ {
"text": " youAreUsingJade", "text": " youAreUsingPug",
"color": "#d4d4d4" "color": "#d4d4d4"
} }
], ],
@ -92796,7 +92796,7 @@ window.EXPECTED = [
"color": "#569cd6" "color": "#569cd6"
}, },
{ {
"text": " Jade - node template engine", "text": " Pug - node template engine",
"color": "#ffffff" "color": "#ffffff"
} }
], ],
@ -92820,7 +92820,7 @@ window.EXPECTED = [
"color": "#569cd6" "color": "#569cd6"
}, },
{ {
"text": " youAreUsingJade", "text": " youAreUsingPug",
"color": "#ffffff" "color": "#ffffff"
} }
], ],

View file

@ -84,7 +84,7 @@
<p>TypeScript, JavaScript, CSS, LESS, SCSS, JSON, HTML</p> <p>TypeScript, JavaScript, CSS, LESS, SCSS, JSON, HTML</p>
<br> <br>
<h4 title="Syntax colorization">Basic Syntax Colorization</h4> <h4 title="Syntax colorization">Basic Syntax Colorization</h4>
<p>XML, PHP, C#, C++, Razor, Markdown, Diff, Java, VB, CoffeeScript, Handlebars, Batch, Jade, F#, Lua, Powershell, <p>XML, PHP, C#, C++, Razor, Markdown, Diff, Java, VB, CoffeeScript, Handlebars, Batch, Pug, F#, Lua, Powershell,
Python, SASS, R, Objective-C</p> Python, SASS, R, Objective-C</p>
<br> <br>
<p>Colorizers are implemented using <a href="monarch.html" <p>Colorizers are implemented using <a href="monarch.html"

View file

@ -10,9 +10,9 @@ html(lang="en")
// Disclaimer: You will need to turn insertSpaces to true in order for the // Disclaimer: You will need to turn insertSpaces to true in order for the
syntax highlighting to kick in properly (especially for comments) syntax highlighting to kick in properly (especially for comments)
Enjoy :) Enjoy :)
h1 Jade - node template engine h1 Pug - node template engine
#container #container
if youAreUsingJade if youAreUsingPug
p You are amazing p You are amazing
else else
p Get on it! p Get on it!