Skip to content
Snippets Groups Projects
Commit 0a1fb070 authored by dwelle's avatar dwelle
Browse files

[gfm mode] update doc

parent e246c6b1
No related branches found
No related tags found
No related merge requests found
......@@ -70,21 +70,32 @@ for (var i = 0; i < items.length; i++) {
## A bit of GitHub spice
See http://github.github.com/github-flavored-markdown/.
(Set `gitHubSpice: false` in mode options to disable):
* SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
* User@SHA ref: mojombo@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
* User/Project@SHA: mojombo/god@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
* \#Num: #1
* User/#Num: mojombo#1
* User/Project#Num: mojombo/god#1
* emoji: :smile: (note: you must add the CSS rule yourself. Set `emoji: false` in mode options to disable)
See http://github.github.com/github-flavored-markdown/.
(Set `emoji: false` in mode options to disable):
* emoji: :smile:
</textarea></form>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
mode: 'gfm',
mode: {
name: "gfm",
tokenTypeOverrides: {
emoji: "emoji"
}
},
lineNumbers: true,
theme: "default"
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment