jtsternberg / Code-Snippets-CPT

A WordPress plugin for managing and displaying code snippets
http://dsgnwrks.pro
19 stars 17 forks source link

Issue 5 #13

Closed JayWood closed 8 years ago

JayWood commented 9 years ago

Changes

snippetcpt_default_ace_lang - Defaults to 'text', and determines the default highlighter to use either if a language isn't available, or as a fallback should I have missed a backwards compat fix.

snippetcpt_default_ace_theme - Defaults to 'ace/theme/monokai' should be an ace theme compatible string. See lib/Snippet_CPT_Setup.php::ace_theme_selector_options() for details.

snippetcpts_available_ace_themes - Default available themes array. See lib/Snippet_CPT_Setup.php::ace_theme_selector_options() for details.

snippetcpt_ace_lang_associations - The backwards compatibility array. Probably not needed, but I wanted the compatibility array to be hook-able should we need to in the future. See lib/Snippet_TaxSetup.php::get_ace_slug() for details.

marbetschar commented 8 years ago

Any news on this merge? Would love to see ace in the plugin!!