8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4be003 commit ab28daeCopy full SHA for ab28dae
_includes/gitsnippet.html
@@ -0,0 +1,17 @@
1
+<script language="javascript">
2
+$(document).ready(function(){
3
+ var gitAccount = "{{gitAccount}}";
4
+ var gitRepo = "{{gitRepo}}";
5
+ var gitFile = "{{gitFile}}";
6
+ var gitBranch = "{{gitBranch}}";
7
+ var regionTag = "{{regionTag}}";
8
+ var lang="{{lang}}";
9
+ $.ajax({
10
+ url: "https://raw.githubusercontent.com/{{gitAccount}}/{{gitRepo}}/master/{{gitFile}}",
11
+ context: document.body
12
+ }).done(function(data) {
13
+ $("#testSnippet").html(data)
14
+ });
15
+});
16
+</script>
17
+<pre class="prettyprint lang-{{lang}}" id="testSnippet"></pre>
0 commit comments