8000 Update gitsnippet.html · devlance/googledevdocs.github.io@dbf9d01 · GitHub
[go: up one dir, main page]

Skip to content

Commit dbf9d01

Browse files
Update gitsnippet.html
1 parent 1744ad4 commit dbf9d01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_includes/gitsnippet.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
dataType: "text",
1313
}).done(function(data) {
1414
$("#testSnippet").html(data)
15+
$("#testSnippet").addClass("lang-{{lang}}")
1516
});
1617
});
1718
</script>
18-
<pre class="prettyprint lang-{{lang}}" id="testSnippet">Loading from https://cdn.rawgit.com/{{gitAccount}}/{{gitRepo}}/{{gitCommit}}/{{gitFile}}</pre>
19+
<pre class="prettyprint" id="testSnippet"></pre>

0 commit comments

Comments
 (0)
0