-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed issue with course custom fields not processing properly
- Loading branch information
1 parent
13c8628
commit 0a1b399
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"key":"codebox","name":"codebox","instructions":"This uses highlight js to display code snippets nicely. Put code in between codebox generico tags. You might find putting code and generico tags inside <pre> tags works well. Codebox can optionally prevent them being copied from browser. Set the language variable to one of css, html, php or javascript.","requirecss":"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/styles/github.min.css","requirejs":"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/highlight.min.js","shim":"","defaults":"language=html|css|php|javascript,allow_copy=true|false","amd":"1","body":"<code id=\"@@AUTOID@@\" class=\"@@language@@\">","bodyend":"</code>","script":"$('#' + @@AUTOID@@).each(function(i, block) {\n hljs.highlightBlock(block);\n $(block).bind('copy paste cut', function (e) {\n if(@@allow_copy@@=='false'){\n e.preventDefault(); //disable cut,copy,paste\n return false;\n }\n });\n});","style":"code.css{\n background-color: aliceblue;\n}\ncode.html{\n background-color: antiquewhite;\n}\ncode.php{\n background-color: lavender;\n}\ncode.javascript{\n background-color: khaki;\n}","dataset":"","datasetvars":"","alternate":"","alternateend":"","version":"1.0.1"} | ||
{"key":"codebox","name":"Codebox","instructions":"This uses highlight js to display code snippets nicely. Put code in between codebox generico tags. You might find putting code and generico tags inside <pre> tags works well. Codebox can optionally prevent them being copied from browser. Set the language variable to one of css, html, php or javascript.","requirecss":"//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/default.min.css","requirejs":"//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js","shim":"hljs","defaults":"language=html|css|php|javascript,allow_copy=true|false","amd":"1","body":"<code id=\"@@AUTOID@@\" class=\"@@language@@\">","bodyend":"</code>","script":"$('#' + @@AUTOID@@).each(function(i, block) {\n hljs.highlightElement(block);\n $(block).bind('copy paste cut', function (e) {\n if(@@allow_copy@@=='false'){\n e.preventDefault(); //disable cut,copy,paste\n return false;\n }\n });//end of bind \n});//end of each","style":"code.css{\n background-color: aliceblue;\n}\ncode.html{\n background-color: antiquewhite;\n}\ncode.php{\n background-color: lavender;\n}\ncode.javascript{\n background-color: khaki;\n}","dataset":"","datasetvars":"","alternate":"","alternateend":"","version":"1.0.2"} |