Created
June 17, 2019 17:38
-
-
Save imarklee/540ffaa3768a3e5315031ee3d70cc766 to your computer and use it in GitHub Desktop.
Shared from https://stackideas.com/forums
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
settings.markupSet.push({ | |
name: "Bold", | |
key:'B', | |
openWith:'[b]', | |
closeWith:'[/b]', | |
className:'kmt-markitup-bold' | |
}); | |
settings.markupSet.push({ | |
name: "Italic", | |
key:'I', | |
openWith:'[i]', | |
closeWith:'[/i]', | |
className:'kmt-markitup-italic' | |
}); | |
settings.markupSet.push({ | |
name: "Underline", | |
key:'U', | |
openWith:'[u]', | |
closeWith:'[/u]', | |
className:'kmt-markitup-underline' | |
}); | |
settings.markupSet.push({separator:'---------------' }); | |
settings.markupSet.push({ | |
name: "Bullet List", | |
openWith:'[list]\n', | |
closeWith:'\n[/list]', | |
className:'kmt-markitup-bullet' | |
}); | |
settings.markupSet.push({ | |
name: "Numeric List", | |
openWith:'[list=[![Starting number]!]]\n', | |
closeWith:'\n[/list]', | |
className:'kmt-markitup-numeric' | |
}); | |
settings.markupSet.push({ | |
name: "Bullet", | |
openWith:'[*]', | |
closeWith:'[/*]', | |
className:'kmt-markitup-list' | |
}); | |
settings.markupSet.push({separator:'---------------' }); | |
settings.markupSet.push({ | |
name: "Quote", | |
openWith:'[quote]', | |
closeWith:'[/quote]', | |
className:'kmt-markitup-quote' | |
}); | |
settings.markupSet.push({ | |
name: "Code", | |
openWith:'<pre class="line-numbers"><code class="language-markup">', | |
closeWith:'</code></pre>', | |
className:'kmt-markitup-code' | |
}); | |
settings.markupSet.push({separator:'---------------' }); | |
settings.markupSet.push({ | |
name: "Smile", | |
openWith:':)', | |
className:'kmt-markitup-smile' | |
}); | |
settings.markupSet.push({ | |
name: "Happy", | |
openWith:':D', | |
className:'kmt-markitup-happy' | |
}); | |
settings.markupSet.push({ | |
name: "Surprised", | |
openWith:':o', | |
className:'kmt-markitup-surprised' | |
}); | |
settings.markupSet.push({ | |
name: "Tongue", | |
openWith:':p', | |
className:'kmt-markitup-tongue' | |
}); | |
settings.markupSet.push({ | |
name: "Unhappy", | |
openWith:':(', | |
className:'kmt-markitup-unhappy' | |
}); | |
settings.markupSet.push({ | |
name: "Wink", | |
openWith:';)', | |
className:'kmt-markitup-wink' | |
}); | |
// if($.isArray(Komento.options.config.smileycode)) { | |
// $.each(Komento.options.config.smileycode, function(index, code) { | |
// settings.markupSet.push({ | |
// name: code, | |
// openWith: code, | |
// className: 'kmt-markitup-custom-' + index | |
// }); | |
// }); | |
// } | |
return settings; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment