git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@2472632 b8457f37-d9ea-0310-8a92-e5e31aec5664master
@@ -10,7 +10,7 @@ | |||
.wp-admin textarea + label { display: block; margin: 0 0 0 3px; } | |||
.wp-admin input[type=checkbox] { margin-top: -1px; } | |||
.ui-dialog .ui-dialog-buttonpane, .ui-dialog .ui-dialog-titlebar, .ui-dialog .cfx-modal-dialog { text-align: center; } | |||
.ui-dialog .ui-dialog-buttonpane, .ui-dialog .ui-dialog-titlebar, .ui-dialog .prismatic-modal-dialog { text-align: center; } | |||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; } | |||
.ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0; } | |||
.ui-dialog .ui-dialog-buttonpane .ui-button:first-child { margin-right: 15px; } |
@@ -228,7 +228,13 @@ function prismatic_block_styles() { | |||
$disable = isset($prismatic_options_general['disable_block_styles']) ? $prismatic_options_general['disable_block_styles'] : false; | |||
if ($disable) wp_deregister_style('prismatic-blocks'); | |||
if ($disable) { | |||
wp_deregister_style('prismatic-blocks'); | |||
wp_register_style('prismatic-blocks', false); | |||
} | |||
} | |||
@@ -124,31 +124,37 @@ function prismatic_prism_enqueue() { | |||
wp_enqueue_style('prismatic-plugin-styles', PRISMATIC_URL .'lib/prism/css/plugin-styles.css', array(), PRISMATIC_VERSION, 'all'); | |||
wp_enqueue_script('prismatic-prism-toolbar', PRISMATIC_URL .'lib/prism/js/plugin-toolbar.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
wp_enqueue_script('prismatic-prism-toolbar', PRISMATIC_URL .'lib/prism/js/plugin-toolbar.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
if (isset($prismatic_options_prism['line_highlight']) && $prismatic_options_prism['line_highlight']) { | |||
wp_enqueue_script('prismatic-prism-line-highlight', PRISMATIC_URL .'lib/prism/js/plugin-line-highlight.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
wp_enqueue_script('prismatic-prism-line-highlight', PRISMATIC_URL .'lib/prism/js/plugin-line-highlight.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
if (isset($prismatic_options_prism['line_numbers']) && $prismatic_options_prism['line_numbers']) { | |||
wp_enqueue_script('prismatic-prism-line-numbers', PRISMATIC_URL .'lib/prism/js/plugin-line-numbers.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
wp_enqueue_script('prismatic-prism-line-numbers', PRISMATIC_URL .'lib/prism/js/plugin-line-numbers.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
if (isset($prismatic_options_prism['show_language']) && $prismatic_options_prism['show_language']) { | |||
wp_enqueue_script('prismatic-prism-show-language', PRISMATIC_URL .'lib/prism/js/plugin-show-language.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
wp_enqueue_script('prismatic-prism-show-language', PRISMATIC_URL .'lib/prism/js/plugin-show-language.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
if (isset($prismatic_options_prism['copy_clipboard']) && $prismatic_options_prism['copy_clipboard']) { | |||
wp_enqueue_script('prismatic-copy-clipboard', PRISMATIC_URL .'lib/prism/js/plugin-copy-clipboard.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
wp_enqueue_script('prismatic-copy-clipboard', PRISMATIC_URL .'lib/prism/js/plugin-copy-clipboard.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
if (isset($prismatic_options_prism['command_line']) && $prismatic_options_prism['command_line']) { | |||
wp_enqueue_script('prismatic-command-line', PRISMATIC_URL .'lib/prism/js/plugin-command-line.js', array('prismatic-prism'), PRISMATIC_VERSION, true); | |||
} | |||
@@ -385,6 +391,7 @@ function prismatic_prism_classes() { | |||
'language-csharp', | |||
'language-cpp', | |||
'language-clike', | |||
'language-coffeescript', | |||
'language-css', | |||
'language-d', | |||
@@ -395,6 +402,7 @@ function prismatic_prism_classes() { | |||
'language-git', | |||
'language-go', | |||
'language-graphql', | |||
'language-groovy', | |||
'language-hcl', | |||
'language-html', | |||
@@ -405,6 +413,7 @@ function prismatic_prism_classes() { | |||
'language-json', | |||
'language-jsx', | |||
'language-kotlin', | |||
'language-latex', | |||
'language-liquid', | |||
'language-lua', | |||
@@ -415,8 +424,10 @@ function prismatic_prism_classes() { | |||
'language-nginx', | |||
'language-objectivec', | |||
'language-pascal', | |||
'language-perl', | |||
'language-php', | |||
'language-powerquery', | |||
'language-powershell', | |||
'language-python', | |||
'language-r', | |||
@@ -424,15 +435,18 @@ function prismatic_prism_classes() { | |||
'language-ruby', | |||
'language-rust', | |||
'language-sass', | |||
'language-scala', | |||
'language-scss', | |||
'language-shell-session', | |||
'language-solidity', | |||
'language-splunk-spl', | |||
'language-sql', | |||
'language-ssml', | |||
'language-svg', | |||
'language-swift', | |||
'language-tsx', | |||
'language-twig', | |||
'language-typescript', | |||
'language-visual-basic', | |||
@@ -452,6 +466,7 @@ function prismatic_prism_classes() { | |||
'lang-csharp', | |||
'lang-cpp', | |||
'lang-clike', | |||
'lang-coffeescript', | |||
'lang-css', | |||
'lang-d', | |||
@@ -462,6 +477,7 @@ function prismatic_prism_classes() { | |||
'lang-git', | |||
'lang-go', | |||
'lang-graphql', | |||
'lang-groovy', | |||
'lang-hcl', | |||
'lang-html', | |||
@@ -472,6 +488,7 @@ function prismatic_prism_classes() { | |||
'lang-json', | |||
'lang-jsx', | |||
'lang-kotlin', | |||
'lang-latex', | |||
'lang-liquid', | |||
'lang-lua', | |||
@@ -482,8 +499,10 @@ function prismatic_prism_classes() { | |||
'lang-nginx', | |||
'lang-objectivec', | |||
'lang-pascal', | |||
'lang-perl', | |||
'lang-php', | |||
'lang-powerquery', | |||
'lang-powershell', | |||
'lang-python', | |||
'lang-r', | |||
@@ -491,15 +510,18 @@ function prismatic_prism_classes() { | |||
'lang-ruby', | |||
'lang-rust', | |||
'lang-sass', | |||
'lang-scala', | |||
'lang-scss', | |||
'lang-shell-session', | |||
'lang-solidity', | |||
'lang-splunk-spl', | |||
'lang-sql', | |||
'lang-ssml', | |||
'lang-svg', | |||
'lang-swift', | |||
'lang-tsx', | |||
'lang-twig', | |||
'lang-typescript', | |||
'lang-visual-basic', | |||
@@ -28,6 +28,7 @@ function prismatic_register_settings() { | |||
add_settings_field('line_numbers', 'Line Numbers', 'prismatic_callback_checkbox', 'prismatic_options_prism', 'settings_prism', array('id' => 'line_numbers', 'section' => 'prism', 'label' => esc_html__('Enable', 'prismatic') .' <a target="_blank" rel="noopener noreferrer" href="https://prismjs.com/plugins/line-numbers/">'. esc_html__('Line Numbers', 'prismatic') .'</a>')); | |||
add_settings_field('show_language', 'Show Language', 'prismatic_callback_checkbox', 'prismatic_options_prism', 'settings_prism', array('id' => 'show_language', 'section' => 'prism', 'label' => esc_html__('Enable', 'prismatic') .' <a target="_blank" rel="noopener noreferrer" href="https://prismjs.com/plugins/show-language/">'. esc_html__('Show Language', 'prismatic') .'</a>')); | |||
add_settings_field('copy_clipboard', 'Copy to Clipboard', 'prismatic_callback_checkbox', 'prismatic_options_prism', 'settings_prism', array('id' => 'copy_clipboard', 'section' => 'prism', 'label' => esc_html__('Enable', 'prismatic') .' <a target="_blank" rel="noopener noreferrer" href="https://prismjs.com/plugins/copy-to-clipboard/">'. esc_html__('Copy to Clipboard', 'prismatic') .'</a>')); | |||
add_settings_field('command_line', 'Command Line', 'prismatic_callback_checkbox', 'prismatic_options_prism', 'settings_prism', array('id' => 'command_line', 'section' => 'prism', 'label' => esc_html__('Enable', 'prismatic') .' <a target="_blank" rel="noopener noreferrer" href="https://prismjs.com/plugins/command-line/">'. esc_html__('Command Line', 'prismatic') .'</a>')); | |||
add_settings_field('singular_only', 'Limit to Posts', 'prismatic_callback_checkbox', 'prismatic_options_prism', 'settings_prism', array('id' => 'singular_only', 'section' => 'prism', 'label' => esc_html__('Limit to Posts and Pages', 'prismatic'))); | |||
add_settings_section('settings_prism_code', 'Code Escaping', 'prismatic_section_prism_code', 'prismatic_options_prism'); | |||
@@ -46,6 +46,12 @@ function prismatic_validate_prism($input) { | |||
if (!isset($input['show_language'])) $input['show_language'] = null; | |||
$input['show_language'] = ($input['show_language'] == 1 ? 1 : 0); | |||
if (!isset($input['copy_clipboard'])) $input['copy_clipboard'] = null; | |||
$input['copy_clipboard'] = ($input['copy_clipboard'] == 1 ? 1 : 0); | |||
if (!isset($input['command_line'])) $input['command_line'] = null; | |||
$input['command_line'] = ($input['command_line'] == 1 ? 1 : 0); | |||
if (!isset($input['singular_only'])) $input['singular_only'] = null; | |||
$input['singular_only'] = ($input['singular_only'] == 1 ? 1 : 0); | |||
@@ -75,15 +75,18 @@ registerBlockType('prismatic/blocks', { | |||
onChange : onChangelanguage, | |||
options : [ | |||
{ label : 'Language..', value : '' }, | |||
{ label : 'Apache', value : 'apache' }, | |||
{ label : 'AppleScript', value : 'applescript' }, | |||
{ label : 'Arduino', value : 'arduino' }, | |||
{ label : 'Bash', value : 'bash' }, | |||
{ label : 'C', value : 'c' }, | |||
{ label : 'C#', value : 'cs' }, | |||
{ label : 'C++', value : 'cpp' }, | |||
{ label : 'CSS', value : 'css' }, | |||
{ label : 'CoffeeScript', value : 'coffeescript' }, | |||
{ label : 'D', value : 'd' }, | |||
{ label : 'Dart', value : 'dart' }, | |||
{ label : 'Diff', value : 'diff' }, | |||
{ label : 'Elixir', value : 'elixir' }, | |||
@@ -93,29 +96,37 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'Groovy', value : 'groovy' }, | |||
{ label : 'HTML/XML', value : 'xml' }, | |||
{ label : 'HTTP', value : 'http' }, | |||
{ label : 'Ini', value : 'ini' }, | |||
{ label : 'Ini/TOML', value : 'ini' }, | |||
{ label : 'JSON', value : 'json' }, | |||
{ label : 'Java', value : 'java' }, | |||
{ label : 'JavaScript', value : 'javascript' }, | |||
{ label : 'Kotlin', value : 'kotlin' }, | |||
{ label : 'Less', value : 'less' }, | |||
{ label : 'Lua', value : 'lua' }, | |||
{ label : 'Makefile', value : 'makefile' }, | |||
{ label : 'Markdown', value : 'markdown' }, | |||
{ label : 'Nginx', value : 'nginx' }, | |||
{ label : 'Objective-C', value : 'objectivec' }, | |||
{ label : 'PHP', value : 'php' }, | |||
{ label : 'Perl', value : 'perl' }, | |||
{ label : 'Plaintext', value : 'plaintext' }, | |||
{ label : 'PowerShell', value : 'powershell' }, | |||
{ label : 'Properties', value : 'properties' }, | |||
{ label : 'Python', value : 'python' }, | |||
{ label : 'Python REPL', value : 'python-repl' }, | |||
{ label : 'R', value : 'r' }, | |||
{ label : 'Ruby', value : 'ruby' }, | |||
{ label : 'Rust', value : 'rust' }, | |||
{ label : 'Scala', value : 'scala' }, | |||
{ label : 'SCSS', value : 'scss' }, | |||
{ label : 'Shell Session', value : 'shell' }, | |||
{ label : 'SQL', value : 'sql' }, | |||
{ label : 'Swift', value : 'swift' }, | |||
{ label : 'TypeScript', value : 'typescript' }, | |||
{ label : 'VB.Net', value : 'vbnet' }, | |||
{ label : 'YAML', value : 'yaml' }, | |||
] | |||
} | |||
@@ -75,6 +75,7 @@ registerBlockType('prismatic/blocks', { | |||
onChange : onChangelanguage, | |||
options : [ | |||
{ label : 'Language..', value : '' }, | |||
{ label : 'Apache', value : 'apacheconf' }, | |||
{ label : 'AppleScript', value : 'applescript' }, | |||
{ label : 'Arduino', value : 'arduino' }, | |||
@@ -85,6 +86,7 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'C++', value : 'cpp' }, | |||
{ label : 'C-like', value : 'clike' }, | |||
{ label : 'CoffeeScript', value : 'coffeescript' }, | |||
{ label : 'CSS', value : 'css' }, | |||
{ label : 'D', value : 'd' }, | |||
{ label : 'Dart', value : 'dart' }, | |||
@@ -95,6 +97,7 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'Go', value : 'go' }, | |||
{ label : 'GraphQL', value : 'graphql' }, | |||
{ label : 'Groovy', value : 'groovy' }, | |||
{ label : 'HCL', value : 'hcl' }, | |||
{ label : 'HTML', value : 'markup' }, | |||
{ label : 'HTTP', value : 'http' }, | |||
@@ -105,6 +108,7 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'JSX', value : 'jsx' }, | |||
{ label : 'Kotlin', value : 'kotlin' }, | |||
{ label : 'LaTeX', value : 'latex' }, | |||
{ label : 'Liquid', value : 'liquid' }, | |||
{ label : 'Lua', value : 'lua' }, | |||
{ label : 'Makefile', value : 'makefile' }, | |||
@@ -115,6 +119,8 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'Pascal', value : 'pascal' }, | |||
{ label : 'Perl', value : 'perl' }, | |||
{ label : 'PHP', value : 'php' }, | |||
{ label : 'PowerQuery', value : 'powerquery' }, | |||
{ label : 'PowerShell', value : 'powershell' }, | |||
{ label : 'Python', value : 'python' }, | |||
{ label : 'R', value : 'r' }, | |||
@@ -124,7 +130,9 @@ registerBlockType('prismatic/blocks', { | |||
{ label : 'Scala', value : 'scala' }, | |||
{ label : 'SCSS', value : 'scss' }, | |||
{ label : 'Shell Session', value : 'shell-session' }, | |||
{ label : 'Solidity', value : 'solidity' }, | |||
{ label : 'Splunk SPL', value : 'splunk-spl' }, | |||
{ label : 'SQL', value : 'sql' }, | |||
{ label : 'Swift', value : 'swift' }, | |||
{ label : 'TSX', value : 'tsx' }, | |||
@@ -37,15 +37,18 @@ | |||
values : [ | |||
{ text : 'Language..', value : '' }, | |||
{ text : 'Apache', value : 'apache' }, | |||
{ text : 'AppleScript', value : 'applescript' }, | |||
{ text : 'Arduino', value : 'arduino' }, | |||
{ text : 'Bash', value : 'bash' }, | |||
{ text : 'C', value : 'c' }, | |||
{ text : 'C#', value : 'cs' }, | |||
{ text : 'C++', value : 'cpp' }, | |||
{ text : 'CSS', value : 'css' }, | |||
{ text : 'CoffeeScript', value : 'coffeescript' }, | |||
{ text : 'D', value : 'd' }, | |||
{ text : 'Dart', value : 'dart' }, | |||
{ text : 'Diff', value : 'diff' }, | |||
{ text : 'Elixir', value : 'elixir' }, | |||
@@ -55,29 +58,37 @@ | |||
{ text : 'Groovy', value : 'groovy' }, | |||
{ text : 'HTML/XML', value : 'xml' }, | |||
{ text : 'HTTP', value : 'http' }, | |||
{ text : 'Ini', value : 'ini' }, | |||
{ text : 'Ini/TOML', value : 'ini' }, | |||
{ text : 'JSON', value : 'json' }, | |||
{ text : 'Java', value : 'java' }, | |||
{ text : 'JavaScript', value : 'javascript' }, | |||
{ text : 'Kotlin', value : 'kotlin' }, | |||
{ text : 'Less', value : 'less' }, | |||
{ text : 'Lua', value : 'lua' }, | |||
{ text : 'Makefile', value : 'makefile' }, | |||
{ text : 'Markdown', value : 'markdown' }, | |||
{ text : 'Nginx', value : 'nginx' }, | |||
{ text : 'Objective-C', value : 'objectivec' }, | |||
{ text : 'PHP', value : 'php' }, | |||
{ text : 'Perl', value : 'perl' }, | |||
{ text : 'Plaintext', value : 'plaintext' }, | |||
{ text : 'PowerShell', value : 'powershell' }, | |||
{ text : 'Properties', value : 'properties' }, | |||
{ text : 'Python', value : 'python' }, | |||
{ text : 'Python REPL', value : 'python-repl' }, | |||
{ text : 'R', value : 'r' }, | |||
{ text : 'Ruby', value : 'ruby' }, | |||
{ text : 'Rust', value : 'rust' }, | |||
{ text : 'Scala', value : 'scala' }, | |||
{ text : 'SCSS', value : 'scss' }, | |||
{ text : 'Shell Session', value : 'shell' }, | |||
{ text : 'SQL', value : 'sql' }, | |||
{ text : 'Swift', value : 'swift' }, | |||
{ text : 'TypeScript', value : 'typescript' }, | |||
{ text : 'VB.Net', value : 'vbnet' }, | |||
{ text : 'YAML', value : 'yaml' }, | |||
], | |||
@@ -102,7 +113,7 @@ | |||
], | |||
onsubmit : function() { | |||
ed.insertContent('<pre><code class="language-'+ code.language +'">'+ code.snippet + '</code></pre>'); | |||
ed.insertContent('<pre><code class="language-'+ code.language +'">'+ tinymce.DOM.encode(code.snippet) + '</code></pre>'); | |||
} | |||
}); | |||
@@ -44,7 +44,7 @@ | |||
], | |||
onsubmit : function() { | |||
ed.insertContent('<pre><code>'+ code.snippet + '</code></pre>'); | |||
ed.insertContent('<pre><code>'+ tinymce.DOM.encode(code.snippet) + '</code></pre>'); | |||
} | |||
}); | |||
@@ -37,6 +37,7 @@ | |||
values : [ | |||
{ text : 'Language..', value : '' }, | |||
{ text : 'Apache', value : 'apacheconf' }, | |||
{ text : 'AppleScript', value : 'applescript' }, | |||
{ text : 'Arduino', value : 'arduino' }, | |||
@@ -47,6 +48,7 @@ | |||
{ text : 'C++', value : 'cpp' }, | |||
{ text : 'C-like', value : 'clike' }, | |||
{ text : 'CoffeeScript', value : 'coffeescript' }, | |||
{ text : 'CSS', value : 'css' }, | |||
{ text : 'D', value : 'd' }, | |||
{ text : 'Dart', value : 'dart' }, | |||
@@ -57,6 +59,7 @@ | |||
{ text : 'Go', value : 'go' }, | |||
{ text : 'GraphQL', value : 'graphql' }, | |||
{ text : 'Groovy', value : 'groovy' }, | |||
{ text : 'HTML', value : 'markup' }, | |||
{ text : 'HCL', value : 'hcl' }, | |||
{ text : 'HTTP', value : 'http' }, | |||
@@ -67,6 +70,7 @@ | |||
{ text : 'JSX', value : 'jsx' }, | |||
{ text : 'Kotlin', value : 'kotlin' }, | |||
{ text : 'LaTeX', value : 'latex' }, | |||
{ text : 'Liquid', value : 'liquid' }, | |||
{ text : 'Lua', value : 'lua' }, | |||
{ text : 'Makefile', value : 'makefile' }, | |||
@@ -77,6 +81,8 @@ | |||
{ text : 'Pascal', value : 'pascal' }, | |||
{ text : 'Perl', value : 'perl' }, | |||
{ text : 'PHP', value : 'php' }, | |||
{ text : 'PowerQuery', value : 'powerquery' }, | |||
{ text : 'PowerShell', value : 'powershell' }, | |||
{ text : 'Python', value : 'python' }, | |||
{ text : 'R', value : 'r' }, | |||
@@ -86,7 +92,9 @@ | |||
{ text : 'Scala', value : 'scala' }, | |||
{ text : 'SCSS', value : 'scss' }, | |||
{ text : 'Shell Session', value : 'shell-session' }, | |||
{ text : 'Solidity', value : 'solidity' }, | |||
{ text : 'Splunk SPL', value : 'splunk-spl' }, | |||
{ text : 'SQL', value : 'sql' }, | |||
{ text : 'Swift', value : 'swift' }, | |||
{ text : 'TSX', value : 'tsx' }, | |||
@@ -3,7 +3,7 @@ msgid "" | |||
msgstr "" | |||
"Project-Id-Version: PACKAGE VERSION\n" | |||
"Report-Msgid-Bugs-To: \n" | |||
"POT-Creation-Date: 2020-11-11 23:59+0000\n" | |||
"POT-Creation-Date: 2021-02-10 20:21+0000\n" | |||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |||
"Language-Team: \n" | |||
@@ -14,645 +14,662 @@ msgstr "" | |||
"Content-Transfer-Encoding: 8bit\n" | |||
"X-Generator: Loco https://localise.biz/" | |||
#: prismatic.php:179 | |||
msgid "Settings" | |||
#: prismatic.php:252 | |||
msgid " or higher, and has been deactivated! " | |||
msgstr "" | |||
#: prismatic.php:193 | |||
msgid "Plugin Homepage" | |||
#: lib/highlight/themes.php:9 | |||
msgid "a11y dark" | |||
msgstr "" | |||
#: prismatic.php:194 | |||
msgid "Homepage" | |||
#: lib/highlight/themes.php:13 | |||
msgid "a11y light" | |||
msgstr "" | |||
#: prismatic.php:199 | |||
msgid "Click here to rate and review this plugin on WordPress.org" | |||
#: inc/settings-callbacks.php:77 | |||
msgid "Admin Area only" | |||
msgstr "" | |||
#: prismatic.php:200 | |||
msgid "Rate this plugin" | |||
#: lib/highlight/themes.php:17 | |||
msgid "Agate" | |||
msgstr "" | |||
#: prismatic.php:205 | |||
msgid "Get Prismatic Pro!" | |||
#: lib/highlight/themes.php:21 | |||
msgid "An Old Hope" | |||
msgstr "" | |||
#: prismatic.php:206 | |||
msgid "Go Pro" | |||
#: prismatic.php:229 | |||
msgid "and try again." | |||
msgstr "" | |||
#: prismatic.php:225 | |||
msgid "Warning:" | |||
#: lib/highlight/themes.php:25 | |||
msgid "Androidstudio" | |||
msgstr "" | |||
#: prismatic.php:226 | |||
msgid "" | |||
"Pro version of Prismatic currently active. Free and Pro versions cannot be " | |||
"activated at the same time. " | |||
#: lib/highlight/themes.php:29 | |||
msgid "Arduino Light" | |||
msgstr "" | |||
#: prismatic.php:227 prismatic.php:252 | |||
msgid "Please return to the" | |||
#: lib/highlight/themes.php:33 | |||
msgid "Arta" | |||
msgstr "" | |||
#: prismatic.php:227 prismatic.php:253 | |||
msgid "WP Admin Area" | |||
#: lib/highlight/themes.php:37 | |||
msgid "Ascetic" | |||
msgstr "" | |||
#: prismatic.php:228 | |||
msgid "and try again." | |||
#: lib/highlight/themes.php:41 | |||
msgid "Atelier Cave Dark" | |||
msgstr "" | |||
#: prismatic.php:250 | |||
msgid "requires WordPress " | |||
#: lib/highlight/themes.php:45 | |||
msgid "Atelier Cave Light" | |||
msgstr "" | |||
#: prismatic.php:251 | |||
msgid " or higher, and has been deactivated! " | |||
#: lib/highlight/themes.php:52 | |||
msgid "Atelier Dune Dark" | |||
msgstr "" | |||
#: prismatic.php:253 | |||
msgid "to upgrade WordPress and try again." | |||
#: lib/highlight/themes.php:56 | |||
msgid "Atelier Dune Light" | |||
msgstr "" | |||
#: prismatic.php:273 prismatic.php:279 | |||
msgid "Cheatin’ huh?" | |||
#: lib/highlight/themes.php:60 | |||
msgid "Atelier Estuary Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:16 | |||
msgid "Disable the Prismatic block stylesheet on the frontend" | |||
#: lib/highlight/themes.php:64 | |||
msgid "Atelier Estuary Light" | |||
msgstr "" | |||
#: inc/settings-register.php:17 | |||
msgid "Restore default options" | |||
#: lib/highlight/themes.php:68 | |||
msgid "Atelier Forest Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:18 inc/settings-callbacks.php:271 | |||
msgid "Show support with a 5-star rating »" | |||
#: lib/highlight/themes.php:72 | |||
msgid "Atelier Forest Light" | |||
msgstr "" | |||
#: inc/settings-register.php:26 | |||
msgid "Prism theme" | |||
#: lib/highlight/themes.php:76 | |||
msgid "Atelier Heath Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:27 inc/settings-register.php:28 | |||
#: inc/settings-register.php:29 inc/settings-register.php:30 | |||
msgid "Enable" | |||
#: lib/highlight/themes.php:80 | |||
msgid "Atelier Heath Light" | |||
msgstr "" | |||
#: inc/settings-register.php:27 | |||
msgid "Line Highlight" | |||
#: lib/highlight/themes.php:84 | |||
msgid "Atelier Lakeside Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:28 | |||
msgid "Line Numbers" | |||
#: lib/highlight/themes.php:88 | |||
msgid "Atelier Lakeside Light" | |||
msgstr "" | |||
#: inc/settings-register.php:29 | |||
msgid "Show Language" | |||
#: lib/highlight/themes.php:95 | |||
msgid "Atelier Plateau Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:30 | |||
msgid "Copy to Clipboard" | |||
#: lib/highlight/themes.php:99 | |||
msgid "Atelier Plateau Light" | |||
msgstr "" | |||
#: inc/settings-register.php:31 inc/settings-register.php:48 | |||
msgid "Limit to Posts and Pages" | |||
#: lib/highlight/themes.php:103 | |||
msgid "Atelier Savanna Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:35 inc/settings-register.php:52 | |||
#: inc/settings-register.php:62 | |||
msgid "Code escaping for content" | |||
#: lib/highlight/themes.php:107 | |||
msgid "Atelier Savanna Light" | |||
msgstr "" | |||
#: inc/settings-register.php:36 inc/settings-register.php:53 | |||
#: inc/settings-register.php:63 | |||
msgid "Code escaping for excerpts" | |||
#: lib/highlight/themes.php:111 | |||
msgid "Atelier Seaside Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:37 inc/settings-register.php:54 | |||
#: inc/settings-register.php:64 | |||
msgid "Code escaping for comments" | |||
#: lib/highlight/themes.php:115 | |||
msgid "Atelier Seaside Light" | |||
msgstr "" | |||
#: inc/settings-register.php:45 | |||
msgid "Highlight theme" | |||
#: lib/highlight/themes.php:119 | |||
msgid "Atelier Sulphurpool Dark" | |||
msgstr "" | |||
#: inc/settings-register.php:46 | |||
msgid "Init script for Highlight.js (required)" | |||
#: lib/highlight/themes.php:123 | |||
msgid "Atelier Sulphurpool Light" | |||
msgstr "" | |||
#: inc/settings-register.php:47 | |||
msgid "Support no-prefix class names" | |||
#: lib/highlight/themes.php:131 | |||
msgid "Atom One Dark" | |||
msgstr "" | |||
#: inc/settings-display.php:15 | |||
msgid "General" | |||
#: lib/highlight/themes.php:127 | |||
msgid "Atom One Dark Reasonable" | |||
msgstr "" | |||
#: inc/settings-display.php:16 inc/settings-callbacks.php:13 | |||
#: inc/settings-callbacks.php:47 | |||
msgid "Prism.js" | |||
#: lib/highlight/themes.php:138 | |||
msgid "Atom One Light" | |||
msgstr "" | |||
#: inc/settings-display.php:17 inc/settings-callbacks.php:25 | |||
#: inc/settings-callbacks.php:51 | |||
msgid "Highlight.js" | |||
#: lib/highlight/themes.php:142 | |||
msgid "Brown Paper" | |||
msgstr "" | |||
#: inc/settings-display.php:18 inc/settings-callbacks.php:55 | |||
msgid "Plain Flavor" | |||
#: lib/highlight/themes.php:146 | |||
msgid "Brown Paper SQ" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:7 | |||
msgid "Thank you for using the free version of" | |||
#: prismatic.php:274 prismatic.php:280 | |||
msgid "Cheatin’ huh?" | |||
msgstr "" | |||
#. Name of the plugin | |||
#: inc/settings-callbacks.php:7 | |||
msgid "Prismatic" | |||
#: prismatic.php:200 | |||
msgid "Click here to rate and review this plugin on WordPress.org" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:13 inc/settings-callbacks.php:25 | |||
msgid "Settings for syntax highlighting via" | |||
#: inc/settings-register.php:38 inc/settings-register.php:55 | |||
#: inc/settings-register.php:65 | |||
msgid "Code escaping for comments" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:19 | |||
msgid "Settings for code escaping when Prism.js is enabled." | |||
#: inc/settings-register.php:36 inc/settings-register.php:53 | |||
#: inc/settings-register.php:63 | |||
msgid "Code escaping for content" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:31 | |||
msgid "Settings for code escaping when Highlight.js is enabled." | |||
#: inc/settings-register.php:37 inc/settings-register.php:54 | |||
#: inc/settings-register.php:64 | |||
msgid "Code escaping for excerpts" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:37 | |||
msgid "Settings for code escaping without syntax highlighting." | |||
#: lib/highlight/themes.php:150 | |||
msgid "Codepen Embed" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:59 inc/settings-callbacks.php:85 | |||
msgid "None (Disable)" | |||
#: lib/highlight/themes.php:154 | |||
msgid "Color Brewer" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:73 | |||
msgid "Frontend only" | |||
#: inc/settings-register.php:31 | |||
msgid "Command Line" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:77 | |||
msgid "Admin Area only" | |||
#: inc/resources-enqueue.php:91 | |||
msgid "Confirm Reset" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:81 | |||
msgid "Frontend & Admin Area" | |||
#: inc/settings-register.php:30 | |||
msgid "Copy to Clipboard" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:99 | |||
msgid "Coy" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:103 lib/highlight/themes.php:153 | |||
#: lib/highlight/themes.php:158 | |||
msgid "Darcula" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:103 lib/highlight/themes.php:162 | |||
msgid "Dark" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:107 lib/highlight/themes.php:157 | |||
#: inc/settings-callbacks.php:107 lib/highlight/themes.php:166 | |||
msgid "Default" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:111 | |||
msgid "Funky" | |||
#: inc/settings-reset.php:15 | |||
msgid "Default options restored." | |||
msgstr "" | |||
#: inc/settings-callbacks.php:115 | |||
msgid "Okaidia" | |||
#: inc/settings-register.php:16 | |||
msgid "Disable the Prismatic block stylesheet on the frontend" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:119 | |||
msgid "Solarized" | |||
#. Description of the plugin | |||
msgid "" | |||
"Display beautiful syntax-highlighted code snippets with Prism.js or " | |||
"Highlight.js" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:123 lib/highlight/themes.php:361 | |||
msgid "Tomorrow Night" | |||
#: lib/highlight/themes.php:170 | |||
msgid "Docco" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:127 | |||
msgid "Twilight" | |||
#: lib/highlight/themes.php:174 | |||
msgid "Dracula" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:263 | |||
msgid "Restore default plugin options" | |||
#: inc/settings-register.php:27 inc/settings-register.php:28 | |||
#: inc/settings-register.php:29 inc/settings-register.php:30 | |||
#: inc/settings-register.php:31 | |||
msgid "Enable" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:270 | |||
msgid "Help keep Prismatic going strong! A huge THANK YOU for your support!" | |||
#: lib/highlight/themes.php:181 | |||
msgid "Far" | |||
msgstr "" | |||
#: inc/settings-reset.php:15 | |||
msgid "Default options restored." | |||
#: lib/highlight/themes.php:185 | |||
msgid "Foundation" | |||
msgstr "" | |||
#: inc/settings-reset.php:19 | |||
msgid "No changes made to options." | |||
#: inc/settings-callbacks.php:81 | |||
msgid "Frontend & Admin Area" | |||
msgstr "" | |||
#: inc/resources-enqueue.php:91 | |||
msgid "Confirm Reset" | |||
#: inc/settings-callbacks.php:73 | |||
msgid "Frontend only" | |||
msgstr "" | |||
#: inc/resources-enqueue.php:92 | |||
msgid "Restore default options?" | |||
#: inc/settings-callbacks.php:111 | |||
msgid "Funky" | |||
msgstr "" | |||
#: inc/resources-enqueue.php:93 | |||
msgid "Yes, make it so." | |||
#: inc/settings-display.php:15 | |||
msgid "General" | |||
msgstr "" | |||
#: inc/resources-enqueue.php:94 | |||
msgid "No, abort mission." | |||
#: prismatic.php:206 | |||
msgid "Get Prismatic Pro!" | |||
msgstr "" | |||
#: lib/highlight/themes.php:9 | |||
msgid "a11y dark" | |||
#: lib/highlight/themes.php:193 | |||
msgid "Github" | |||
msgstr "" | |||
#: lib/highlight/themes.php:13 | |||
msgid "a11y light" | |||
#: lib/highlight/themes.php:189 | |||
msgid "Github Gist" | |||
msgstr "" | |||
#: lib/highlight/themes.php:17 | |||
msgid "Agate" | |||
#: lib/highlight/themes.php:197 | |||
msgid "GML" | |||
msgstr "" | |||
#: lib/highlight/themes.php:21 | |||
msgid "An Old Hope" | |||
#: prismatic.php:207 | |||
msgid "Go Pro" | |||
msgstr "" | |||
#: lib/highlight/themes.php:25 | |||
msgid "Androidstudio" | |||
#: lib/highlight/themes.php:201 | |||
msgid "Googlecode" | |||
msgstr "" | |||
#: lib/highlight/themes.php:29 | |||
msgid "Arduino Light" | |||
#: lib/highlight/themes.php:205 | |||
msgid "Gradient Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:33 | |||
msgid "Arta" | |||
#: lib/highlight/themes.php:209 | |||
msgid "Gradient Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:37 | |||
msgid "Ascetic" | |||
#: lib/highlight/themes.php:213 | |||
msgid "Grayscale" | |||
msgstr "" | |||
#: lib/highlight/themes.php:41 | |||
msgid "Atelier Cave Dark" | |||
#: lib/highlight/themes.php:217 | |||
msgid "Gruvbox Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:45 | |||
msgid "Atelier Cave Light" | |||
#: lib/highlight/themes.php:224 | |||
msgid "Gruvbox Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:49 | |||
msgid "Atelier Dune Dark" | |||
#: inc/settings-callbacks.php:270 | |||
msgid "Help keep Prismatic going strong! A huge THANK YOU for your support!" | |||
msgstr "" | |||
#: lib/highlight/themes.php:53 | |||
msgid "Atelier Dune Light" | |||
#: inc/settings-register.php:46 | |||
msgid "Highlight theme" | |||
msgstr "" | |||
#: lib/highlight/themes.php:57 | |||
msgid "Atelier Estuary Dark" | |||
#: inc/settings-display.php:17 inc/settings-callbacks.php:25 | |||
#: inc/settings-callbacks.php:51 | |||
msgid "Highlight.js" | |||
msgstr "" | |||
#: lib/highlight/themes.php:61 | |||
msgid "Atelier Estuary Light" | |||
#: prismatic.php:195 | |||
msgid "Homepage" | |||
msgstr "" | |||
#: lib/highlight/themes.php:65 | |||
msgid "Atelier Forest Dark" | |||
#: lib/highlight/themes.php:228 | |||
msgid "Hopscotch" | |||
msgstr "" | |||
#: lib/highlight/themes.php:69 | |||
msgid "Atelier Forest Light" | |||
#. URI of the plugin | |||
msgid "https://perishablepress.com/prismatic/" | |||
msgstr "" | |||
#: lib/highlight/themes.php:73 | |||
msgid "Atelier Heath Dark" | |||
#. Author URI of the plugin | |||
msgid "https://plugin-planet.com/" | |||
msgstr "" | |||
#: lib/highlight/themes.php:77 | |||
msgid "Atelier Heath Light" | |||
#: lib/highlight/themes.php:232 | |||
msgid "Hybrid" | |||
msgstr "" | |||
#: lib/highlight/themes.php:81 | |||
msgid "Atelier Lakeside Dark" | |||
#: lib/highlight/themes.php:236 | |||
msgid "Idea" | |||
msgstr "" | |||
#: lib/highlight/themes.php:85 | |||
msgid "Atelier Lakeside Light" | |||
#: inc/settings-register.php:47 | |||
msgid "Init script for Highlight.js (required)" | |||
msgstr "" | |||
#: lib/highlight/themes.php:89 | |||
msgid "Atelier Plateau Dark" | |||
#: lib/highlight/themes.php:240 | |||
msgid "IR Black" | |||
msgstr "" | |||
#: lib/highlight/themes.php:93 | |||
msgid "Atelier Plateau Light" | |||
#: lib/highlight/themes.php:244 | |||
msgid "ISBL Editor Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:97 | |||
msgid "Atelier Savanna Dark" | |||
#: lib/highlight/themes.php:248 | |||
msgid "ISBL Editor Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:101 | |||
msgid "Atelier Savanna Light" | |||
#. Author of the plugin | |||
msgid "Jeff Starr" | |||
msgstr "" | |||
#: lib/highlight/themes.php:105 | |||
msgid "Atelier Seaside Dark" | |||
#: lib/highlight/themes.php:252 | |||
msgid "Kimbie Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:109 | |||
msgid "Atelier Seaside Light" | |||
#: lib/highlight/themes.php:256 | |||
msgid "Kimbie Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:113 | |||
msgid "Atelier Sulphurpool Dark" | |||
#: lib/highlight/themes.php:260 | |||
msgid "Lightfair" | |||
msgstr "" | |||
#: lib/highlight/themes.php:117 | |||
msgid "Atelier Sulphurpool Light" | |||
#: inc/settings-register.php:32 inc/settings-register.php:49 | |||
msgid "Limit to Posts and Pages" | |||
msgstr "" | |||
#: lib/highlight/themes.php:121 | |||
msgid "Atom One Dark Reasonable" | |||
#: inc/settings-register.php:27 | |||
msgid "Line Highlight" | |||
msgstr "" | |||
#: lib/highlight/themes.php:125 | |||
msgid "Atom One Dark" | |||
#: inc/settings-register.php:28 | |||
msgid "Line Numbers" | |||
msgstr "" | |||
#: lib/highlight/themes.php:129 | |||
msgid "Atom One Light" | |||
#: lib/highlight/themes.php:267 | |||
msgid "Lioshi" | |||
msgstr "" | |||
#: lib/highlight/themes.php:133 | |||
msgid "Brown Paper" | |||
#: lib/highlight/themes.php:271 | |||
msgid "Magula" | |||
msgstr "" | |||
#: lib/highlight/themes.php:137 | |||
msgid "Brown Paper SQ" | |||
#: lib/highlight/themes.php:275 | |||
msgid "Mono Blue" | |||
msgstr "" | |||
#: lib/highlight/themes.php:141 | |||
msgid "Codepen Embed" | |||
#: lib/highlight/themes.php:283 | |||
msgid "Monokai" | |||
msgstr "" | |||
#: lib/highlight/themes.php:145 | |||
msgid "Color Brewer" | |||
#: lib/highlight/themes.php:279 | |||
msgid "Monokai Sublime" | |||
msgstr "" | |||
#: lib/highlight/themes.php:149 | |||
msgid "Darcula" | |||
#: lib/highlight/themes.php:287 | |||
msgid "Night Owl" | |||
msgstr "" | |||
#: lib/highlight/themes.php:161 | |||
msgid "Docco" | |||
#: lib/highlight/themes.php:295 | |||
msgid "NNFX" | |||
msgstr "" | |||
#: lib/highlight/themes.php:165 | |||
msgid "Dracula" | |||
#: lib/highlight/themes.php:291 | |||
msgid "NNFX Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:169 | |||
msgid "Far" | |||
#: inc/settings-reset.php:19 | |||
msgid "No changes made to options." | |||
msgstr "" | |||
#: lib/highlight/themes.php:173 | |||
msgid "Foundation" | |||
#: inc/resources-enqueue.php:94 | |||
msgid "No, abort mission." | |||
msgstr "" | |||
#: lib/highlight/themes.php:177 | |||
msgid "Github Gist" | |||
#: inc/settings-callbacks.php:59 inc/settings-callbacks.php:85 | |||
msgid "None (Disable)" | |||
msgstr "" | |||
#: lib/highlight/themes.php:181 | |||
msgid "Github" | |||
#: lib/highlight/themes.php:299 | |||
msgid "Nord" | |||
msgstr "" | |||
#: lib/highlight/themes.php:185 | |||
msgid "GML" | |||
#: lib/highlight/themes.php:303 | |||
msgid "Obsidian" | |||
msgstr "" | |||
#: lib/highlight/themes.php:189 | |||
msgid "Googlecode" | |||
#: lib/highlight/themes.php:310 | |||
msgid "Ocean" | |||
msgstr "" | |||
#: lib/highlight/themes.php:193 | |||
msgid "Gradient Dark" | |||
#: inc/settings-callbacks.php:115 | |||
msgid "Okaidia" | |||
msgstr "" | |||
#: lib/highlight/themes.php:197 | |||
msgid "Grayscale" | |||
#: lib/highlight/themes.php:314 | |||
msgid "Paraiso Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:201 | |||
msgid "Gruvbox Dark" | |||
#: lib/highlight/themes.php:318 | |||
msgid "Paraiso Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:205 | |||
msgid "Gruvbox Light" | |||
#: inc/settings-display.php:18 inc/settings-callbacks.php:55 | |||
msgid "Plain Flavor" | |||
msgstr "" | |||
#: lib/highlight/themes.php:209 | |||
msgid "Hopscotch" | |||
#: prismatic.php:228 prismatic.php:253 | |||
msgid "Please return to the" | |||
msgstr "" | |||
#: lib/highlight/themes.php:213 | |||
msgid "Hybrid" | |||
#: prismatic.php:194 | |||
msgid "Plugin Homepage" | |||
msgstr "" | |||
#: lib/highlight/themes.php:217 | |||
msgid "Idea" | |||
#: lib/highlight/themes.php:322 | |||
msgid "Pojoaque" | |||
msgstr "" | |||
#: lib/highlight/themes.php:221 | |||
msgid "IR Black" | |||
#: inc/settings-register.php:26 | |||
msgid "Prism theme" | |||
msgstr "" | |||
#: lib/highlight/themes.php:225 | |||
msgid "ISBL Editor Dark" | |||
#: inc/settings-display.php:16 inc/settings-callbacks.php:13 | |||
#: inc/settings-callbacks.php:47 | |||
msgid "Prism.js" | |||
msgstr "" | |||
#: lib/highlight/themes.php:229 | |||
msgid "ISBL Editor Light" | |||
#. Name of the plugin | |||
#: inc/settings-callbacks.php:7 | |||
msgid "Prismatic" | |||
msgstr "" | |||
#: lib/highlight/themes.php:233 | |||
msgid "Kimbie Dark" | |||
#: prismatic.php:227 | |||
msgid "" | |||
"Pro version of Prismatic currently active. Free and Pro versions cannot be " | |||
"activated at the same time. " | |||
msgstr "" | |||
#: lib/highlight/themes.php:237 | |||
msgid "Kimbie Light" | |||
#: lib/highlight/themes.php:326 | |||
msgid "Purebasic" | |||
msgstr "" | |||
#: lib/highlight/themes.php:241 | |||
msgid "Lightfair" | |||
#: lib/highlight/themes.php:330 | |||
msgid "Qtcreator Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:245 | |||
msgid "Lioshi" | |||
#: lib/highlight/themes.php:334 | |||
msgid "Qtcreator Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:249 | |||
msgid "Magula" | |||
#: lib/highlight/themes.php:338 | |||
msgid "Railscasts" | |||
msgstr "" | |||
#: lib/highlight/themes.php:253 | |||
msgid "Mono Blue" | |||
#: lib/highlight/themes.php:342 | |||
msgid "Rainbow" | |||
msgstr "" | |||
#: lib/highlight/themes.php:257 | |||
msgid "Monokai Sublime" | |||
#: prismatic.php:201 | |||
msgid "Rate this plugin" | |||
msgstr "" | |||
#: lib/highlight/themes.php:261 | |||
msgid "Monokai" | |||
#: prismatic.php:251 | |||
msgid "requires WordPress " | |||
msgstr "" | |||
#: lib/highlight/themes.php:265 | |||
msgid "Night Owl" | |||
#: inc/settings-register.php:17 | |||
msgid "Restore default options" | |||
msgstr "" | |||
#: lib/highlight/themes.php:269 | |||
msgid "NNFX Dark" | |||
#: inc/resources-enqueue.php:92 | |||
msgid "Restore default options?" | |||
msgstr "" | |||
#: lib/highlight/themes.php:273 | |||
msgid "NNFX" | |||
#: inc/settings-callbacks.php:263 | |||
msgid "Restore default plugin options" | |||
msgstr "" | |||
#: lib/highlight/themes.php:277 | |||
msgid "Nord" | |||
#: lib/highlight/themes.php:346 | |||
msgid "Routeros" | |||
msgstr "" | |||
#: lib/highlight/themes.php:281 | |||
msgid "Obsidian" | |||
#: lib/highlight/themes.php:353 | |||
msgid "School Book" | |||
msgstr "" | |||
#: lib/highlight/themes.php:285 | |||
msgid "Ocean" | |||
#: prismatic.php:180 | |||
msgid "Settings" | |||
msgstr "" | |||
#: lib/highlight/themes.php:289 | |||
msgid "Paraiso Dark" | |||
#: inc/settings-callbacks.php:31 | |||
msgid "Settings for code escaping when Highlight.js is enabled." | |||
msgstr "" | |||
#: lib/highlight/themes.php:293 | |||
msgid "Paraiso Light" | |||
#: inc/settings-callbacks.php:19 | |||
msgid "Settings for code escaping when Prism.js is enabled." | |||
msgstr "" | |||
#: lib/highlight/themes.php:297 | |||
msgid "Pojoaque" | |||
#: inc/settings-callbacks.php:37 | |||
msgid "Settings for code escaping without syntax highlighting." | |||
msgstr "" | |||
#: lib/highlight/themes.php:301 | |||
msgid "Purebasic" | |||
#: inc/settings-callbacks.php:13 inc/settings-callbacks.php:25 | |||
msgid "Settings for syntax highlighting via" | |||
msgstr "" | |||
#: lib/highlight/themes.php:305 | |||
msgid "Qtcreator Dark" | |||
#: lib/highlight/themes.php:357 | |||
msgid "Shades of Purple" | |||
msgstr "" | |||
#: lib/highlight/themes.php:309 | |||
msgid "Qtcreator Light" | |||
#: inc/settings-register.php:29 | |||
msgid "Show Language" | |||
msgstr "" | |||
#: lib/highlight/themes.php:313 | |||
msgid "Railscasts" | |||
#: inc/settings-register.php:18 inc/settings-callbacks.php:271 | |||
msgid "Show support with a 5-star rating »" | |||
msgstr "" | |||
#: lib/highlight/themes.php:317 | |||
msgid "Rainbow" | |||
#: inc/settings-callbacks.php:119 | |||
msgid "Solarized" | |||
msgstr "" | |||
#: lib/highlight/themes.php:321 | |||
msgid "Routeros" | |||
#: lib/highlight/themes.php:361 | |||
msgid "Solarized Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:325 | |||
msgid "School Book" | |||
#: lib/highlight/themes.php:365 | |||
msgid "Solarized Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:329 | |||
msgid "Shades of Purple" | |||
#: lib/highlight/themes.php:369 | |||
msgid "Srcery" | |||
msgstr "" | |||
#: lib/highlight/themes.php:333 | |||
msgid "Solarized Dark" | |||
#: lib/highlight/themes.php:373 | |||
msgid "Stackoverflow Dark" | |||
msgstr "" | |||
#: lib/highlight/themes.php:337 | |||
msgid "Solarized Light" | |||
#: lib/highlight/themes.php:377 | |||
msgid "Stackoverflow Light" | |||
msgstr "" | |||
#: lib/highlight/themes.php:341 | |||
msgid "Srcery" | |||
#: lib/highlight/themes.php:381 | |||
msgid "Sunburst" | |||
msgstr "" | |||
#: lib/highlight/themes.php:345 | |||
msgid "Sunburst" | |||
#: inc/settings-register.php:48 | |||
msgid "Support no-prefix class names" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:7 | |||
msgid "Thank you for using the free version of" | |||
msgstr "" | |||
#: prismatic.php:254 | |||
msgid "to upgrade WordPress and try again." | |||
msgstr "" | |||
#: lib/highlight/themes.php:349 | |||
#: lib/highlight/themes.php:404 | |||
msgid "Tomorrow" | |||
msgstr "" | |||
#: inc/settings-callbacks.php:123 lib/highlight/themes.php:400 | |||
msgid "Tomorrow Night" | |||
msgstr "" | |||
#: lib/highlight/themes.php:385 | |||
msgid "Tomorrow Night Blue" | |||
msgstr "" | |||
#: lib/highlight/themes.php:353 | |||
#: lib/highlight/themes.php:389 | |||
msgid "Tomorrow Night Bright" | |||
msgstr "" | |||
#: lib/highlight/themes.php:357 | |||
#: lib/highlight/themes.php:396 | |||
msgid "Tomorrow Night Eighties" | |||
msgstr "" | |||
#: lib/highlight/themes.php:365 | |||
msgid "Tomorrow" | |||
#: inc/settings-callbacks.php:127 | |||
msgid "Twilight" | |||
msgstr "" | |||
#: lib/highlight/themes.php:369 | |||
#: lib/highlight/themes.php:408 | |||
msgid "Vs" | |||
msgstr "" | |||
#: lib/highlight/themes.php:373 | |||
#: lib/highlight/themes.php:412 | |||
msgid "Vs 2015" | |||
msgstr "" | |||
#: lib/highlight/themes.php:377 | |||
msgid "Xcode" | |||
msgstr "" | |||
#: lib/highlight/themes.php:381 | |||
msgid "Xt256" | |||
#: prismatic.php:226 | |||
msgid "Warning:" | |||
msgstr "" | |||
#: lib/highlight/themes.php:385 | |||
msgid "Zenburn" | |||
#: prismatic.php:228 prismatic.php:254 | |||
msgid "WP Admin Area" | |||
msgstr "" | |||
#. Description of the plugin | |||
msgid "" | |||
"Display beautiful syntax-highlighted code snippets with Prism.js or " | |||
"Highlight.js" | |||
#: lib/highlight/themes.php:416 | |||
msgid "Xcode" | |||
msgstr "" | |||
#. URI of the plugin | |||
msgid "https://perishablepress.com/prismatic/" | |||
#: lib/highlight/themes.php:420 | |||
msgid "Xt256" | |||
msgstr "" | |||
#. Author of the plugin | |||
msgid "Jeff Starr" | |||
#: inc/resources-enqueue.php:93 | |||
msgid "Yes, make it so." | |||
msgstr "" | |||
#. Author URI of the plugin | |||
msgid "https://plugin-planet.com/" | |||
#: lib/highlight/themes.php:424 | |||
msgid "Zenburn" | |||
msgstr "" |
@@ -0,0 +1,130 @@ | |||
/* | |||
Gradient Light (c) Samia Ali <samiaab1990@gmail.com> | |||
*/ | |||
.hljs | |||
{ | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: rgb(255,253,141); | |||
background: linear-gradient(142deg, rgba(255,253,141,1) 0%, rgba(252,183,255,1) 35%, rgba(144,236,255,1) 100%); | |||
color:#250482; | |||
} | |||
.hljs-subtr{ | |||
color:#01958B; | |||
} | |||
.hljs-doctag, | |||
.hljs-meta, | |||
.hljs-comment, | |||
.hljs-quote | |||
{ | |||
color:#CB7200; | |||
} | |||
.hljs-selector-tag, | |||
.hljs-selector-id, | |||
.hljs-template-tag, | |||
.hljs-regexp, | |||
.hljs-attr, | |||
.hljs-tag | |||
{ | |||
color:#07BD5F; | |||
} | |||
.hljs-params, | |||
.hljs-selector-class, | |||
.hljs-bullet | |||
{ | |||
color:#43449F; | |||
} | |||
.hljs-keyword, | |||
.hljs-section, | |||
.hljs-meta-keyword, | |||
.hljs-symbol, | |||
.hljs-type | |||
{ | |||
color:#7D2801; | |||
} | |||
.hljs-addition, | |||
.hljs-number, | |||
.hljs-link | |||
{ | |||
color:#7F0096; | |||
} | |||
.hljs-string | |||
{ | |||
color: #38c0ff; | |||
} | |||
.hljs-attribute, | |||
.hljs-addition | |||
{ | |||
color:#296562; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable | |||
{ | |||
color:#025C8F; | |||
} | |||
.hljs-builtin-name, | |||
.hljs-built_in, | |||
.hljs-formula, | |||
.hljs-name, | |||
.hljs-title, | |||
.hljs-class, | |||
.hljs-function | |||
{ | |||
color: #529117; | |||
} | |||
.hljs-selector-pseudo, | |||
.hljs-deletion, | |||
.hljs-literal | |||
{ | |||
color:#AD13FF; | |||
} | |||
.hljs-emphasis, | |||
.hljs-quote | |||
{ | |||
font-style:italic; | |||
} | |||
.hljs-params, | |||
.hljs-selector-class, | |||
.hljs-strong, | |||
.hljs-selector-tag, | |||
.hljs-selector-id, | |||
.hljs-template-tag, | |||
.hljs-section, | |||
.hljs-keyword | |||
{ | |||
font-weight:bold; | |||
} | |||
@@ -8,7 +8,7 @@ Lightfair style (c) Tristian Kelly <tristian.kelly560@gmail.com> | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
/* TODO: background? */ | |||
background: #fff; | |||
} | |||
.hljs-name { | |||
@@ -0,0 +1,78 @@ | |||
/*! | |||
* StackOverflow.com dark style | |||
* | |||
* @stackoverflow/stacks v0.56.0 | |||
* https://github.com/StackExchange/Stacks | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #ffffff; | |||
background: #1c1b1b; | |||
} | |||
.hljs-comment { | |||
color: #999999; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-section, | |||
.hljs-selector-class, | |||
.hljs-meta, | |||
.hljs-selector-pseudo, | |||
.hljs-attr { | |||
color: #88aece; | |||
} | |||
.hljs-attribute { | |||
color: v#c59bc1; | |||
} | |||
.hljs-name, | |||
.hljs-type, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-built_in, | |||
.hljs-title, | |||
.hljs-literal { | |||
color: #f08d49; | |||
} | |||
.hljs-string, | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-meta-string { | |||
color: #b5bd68; | |||
} | |||
.hljs-bullet, | |||
.hljs-code { | |||
color: #cccccc; | |||
} | |||
.hljs-deletion { | |||
color: #de7176; | |||
} | |||
.hljs-addition { | |||
color: #76c490; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@@ -0,0 +1,78 @@ | |||
/*! | |||
* StackOverflow.com light style | |||
* | |||
* @stackoverflow/stacks v0.56.0 | |||
* https://github.com/StackExchange/Stacks | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #2f3337; | |||
background: #f6f6f6; | |||
} | |||
.hljs-comment { | |||
color: #656e77; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-section, | |||
.hljs-selector-class, | |||
.hljs-meta, | |||
.hljs-selector-pseudo, | |||
.hljs-attr { | |||
color: #015692; | |||
} | |||
.hljs-attribute { | |||
color: #803378; | |||
} | |||
.hljs-name, | |||
.hljs-type, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-built_in, | |||
.hljs-title, | |||
.hljs-literal { | |||
color: #b75501; | |||
} | |||
.hljs-string, | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-meta-string { | |||
color: #54790d; | |||
} | |||
.hljs-bullet, | |||
.hljs-code { | |||
color: #535a60; | |||
} | |||
.hljs-deletion { | |||
color: #c02d2e; | |||
} | |||
.hljs-addition { | |||
color: #2f6f44; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@@ -44,6 +44,9 @@ $theme = array( | |||
'value' => 'atelier-cave-light', | |||
'label' => esc_html__('Atelier Cave Light', 'prismatic'), | |||
), | |||
// 10 | |||
'atelier-dune-dark' => array( | |||
'value' => 'atelier-dune-dark', | |||
'label' => esc_html__('Atelier Dune Dark', 'prismatic'), | |||
@@ -84,6 +87,9 @@ $theme = array( | |||
'value' => 'atelier-lakeside-light', | |||
'label' => esc_html__('Atelier Lakeside Light', 'prismatic'), | |||
), | |||
// 20 | |||
'atelier-plateau-dark' => array( | |||
'value' => 'atelier-plateau-dark', | |||
'label' => esc_html__('Atelier Plateau Dark', 'prismatic'), | |||
@@ -124,6 +130,9 @@ $theme = array( | |||
'value' => 'atom-one-dark', | |||
'label' => esc_html__('Atom One Dark', 'prismatic'), | |||
), | |||
// 30 | |||
'atom-one-light' => array( | |||
'value' => 'atom-one-light', | |||
'label' => esc_html__('Atom One Light', 'prismatic'), | |||
@@ -164,6 +173,9 @@ $theme = array( | |||
'value' => 'dracula', | |||
'label' => esc_html__('Dracula', 'prismatic'), | |||
), | |||
// 40 | |||
'far' => array( | |||
'value' => 'far', | |||
'label' => esc_html__('Far', 'prismatic'), | |||
@@ -192,6 +204,10 @@ $theme = array( | |||
'value' => 'gradient-dark', | |||
'label' => esc_html__('Gradient Dark', 'prismatic'), | |||
), | |||
'gradient-light' => array( | |||
'value' => 'gradient-light', | |||
'label' => esc_html__('Gradient Light', 'prismatic'), | |||
), | |||
'grayscale' => array( | |||
'value' => 'grayscale', | |||
'label' => esc_html__('Grayscale', 'prismatic'), | |||
@@ -200,6 +216,9 @@ $theme = array( | |||
'value' => 'gruvbox-dark', | |||
'label' => esc_html__('Gruvbox Dark', 'prismatic'), | |||
), | |||
// 50 | |||
'gruvbox-light' => array( | |||
'value' => 'gruvbox-light', | |||
'label' => esc_html__('Gruvbox Light', 'prismatic'), | |||
@@ -240,6 +259,9 @@ $theme = array( | |||
'value' => 'lightfair', | |||
'label' => esc_html__('Lightfair', 'prismatic'), | |||
), | |||
// 60 | |||
'lioshi' => array( | |||
'value' => 'lioshi', | |||
'label' => esc_html__('Lioshi', 'prismatic'), | |||
@@ -280,6 +302,9 @@ $theme = array( | |||
'value' => 'obsidian', | |||
'label' => esc_html__('Obsidian', 'prismatic'), | |||
), | |||
// 70 | |||
'ocean' => array( | |||
'value' => 'ocean', | |||
'label' => esc_html__('Ocean', 'prismatic'), | |||
@@ -320,6 +345,9 @@ $theme = array( | |||
'value' => 'routeros', | |||
'label' => esc_html__('Routeros', 'prismatic'), | |||
), | |||
// 80 | |||
'school-book' => array( | |||
'value' => 'school-book', | |||
'label' => esc_html__('School Book', 'prismatic'), | |||
@@ -340,6 +368,14 @@ $theme = array( | |||
'value' => 'srcery', | |||
'label' => esc_html__('Srcery', 'prismatic'), | |||
), | |||
'stackoverflow-dark' => array( | |||
'value' => 'stackoverflow-dark', | |||
'label' => esc_html__('Stackoverflow Dark', 'prismatic'), | |||
), | |||
'stackoverflow-light' => array( | |||
'value' => 'stackoverflow-light', | |||
'label' => esc_html__('Stackoverflow Light', 'prismatic'), | |||
), | |||
'sunburst' => array( | |||
'value' => 'sunburst', | |||
'label' => esc_html__('Sunburst', 'prismatic'), | |||
@@ -352,6 +388,9 @@ $theme = array( | |||
'value' => 'tomorrow-night-bright', | |||
'label' => esc_html__('Tomorrow Night Bright', 'prismatic'), | |||
), | |||
// 90 | |||
'tomorrow-night-eighties' => array( | |||
'value' => 'tomorrow-night-eighties', | |||
'label' => esc_html__('Tomorrow Night Eighties', 'prismatic'), | |||
@@ -385,4 +424,6 @@ $theme = array( | |||
'label' => esc_html__('Zenburn', 'prismatic'), | |||
), | |||
// 98 | |||
); |
@@ -1 +1 @@ | |||
code[class*="language-"],pre[class*="language-"]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,0.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:0.3em}:not(pre) >code[class*="language-"],pre[class*="language-"]{background:#272822}:not(pre) >code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:hsl(24,20%,95%);font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px white}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:before,.line-numbers .line-highlight:after{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows >span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows >span:hover:before{background-color:rgba(128,128,128,.2)}pre[class*="language-"].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*="language-"].line-numbers >code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows >span{display:block;counter-increment:linenumber}.line-numbers-rows >span:before{content:counter(linenumber);color:#999;display:block;padding-right:0.8em;text-align:right}div.code-toolbar{position:relative}div.code-toolbar >.toolbar{position:absolute;top:.3em;right:.2em;transition:opacity 0.3s ease-in-out;opacity:0}div.code-toolbar:hover >.toolbar{opacity:1}div.code-toolbar:focus-within >.toolbar{opacity:1}div.code-toolbar >.toolbar .toolbar-item{display:inline-block}div.code-toolbar >.toolbar a{cursor:pointer}div.code-toolbar >.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar >.toolbar a,div.code-toolbar >.toolbar button,div.code-toolbar >.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,0.2);box-shadow:0 2px 0 0 rgba(0,0,0,0.2);border-radius:.5em}div.code-toolbar >.toolbar a:hover,div.code-toolbar >.toolbar a:focus,div.code-toolbar >.toolbar button:hover,div.code-toolbar >.toolbar button:focus,div.code-toolbar >.toolbar span:hover,div.code-toolbar >.toolbar span:focus{color:inherit;text-decoration:none} | |||
code[class*="language-"],pre[class*="language-"]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,0.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:0.3em}:not(pre) >code[class*="language-"],pre[class*="language-"]{background:#272822}:not(pre) >code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:hsl(24,20%,95%);font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px white}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:before,.line-numbers .line-highlight:after{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows >span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows >span:hover:before{background-color:rgba(128,128,128,.2)}pre[class*="language-"].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*="language-"].line-numbers >code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows >span{display:block;counter-increment:linenumber}.line-numbers-rows >span:before{content:counter(linenumber);color:#999;display:block;padding-right:0.8em;text-align:right}div.code-toolbar{position:relative}div.code-toolbar >.toolbar{position:absolute;top:.3em;right:.2em;transition:opacity 0.3s ease-in-out;opacity:0}div.code-toolbar:hover >.toolbar{opacity:1}div.code-toolbar:focus-within >.toolbar{opacity:1}div.code-toolbar >.toolbar .toolbar-item{display:inline-block}div.code-toolbar >.toolbar a{cursor:pointer}div.code-toolbar >.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar >.toolbar a,div.code-toolbar >.toolbar button,div.code-toolbar >.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,0.2);box-shadow:0 2px 0 0 rgba(0,0,0,0.2);border-radius:.5em}div.code-toolbar >.toolbar a:hover,div.code-toolbar >.toolbar a:focus,div.code-toolbar >.toolbar button:hover,div.code-toolbar >.toolbar button:focus,div.code-toolbar >.toolbar span:hover,div.code-toolbar >.toolbar span:focus{color:inherit;text-decoration:none}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.command-line-prompt >span:before{color:#999;content:' ';display:block;padding-right:0.8em}.command-line-prompt >span[data-user]:before{content:"["attr(data-user) "@"attr(data-host) "] $"}.command-line-prompt >span[data-user="root"]:before{content:"["attr(data-user) "@"attr(data-host) "] #"}.command-line-prompt >span[data-prompt]:before{content:attr(data-prompt)} |
@@ -1 +1 @@ | |||
code[class*="language-"],pre[class*="language-"]{color:#ccc;background:none;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto}:not(pre) >code[class*="language-"],pre[class*="language-"]{background:#2d2d2d}:not(pre) >code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:hsl(24,20%,95%);font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px white}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:before,.line-numbers .line-highlight:after{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows >span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows >span:hover:before{background-color:rgba(128,128,128,.2)}pre[class*="language-"].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*="language-"].line-numbers >code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows >span{display:block;counter-increment:linenumber}.line-numbers-rows >span:before{content:counter(linenumber);color:#999;display:block;padding-right:0.8em;text-align:right}div.code-toolbar{position:relative}div.code-toolbar >.toolbar{position:absolute;top:.3em;right:.2em;transition:opacity 0.3s ease-in-out;opacity:0}div.code-toolbar:hover >.toolbar{opacity:1}div.code-toolbar:focus-within >.toolbar{opacity:1}div.code-toolbar >.toolbar .toolbar-item{display:inline-block}div.code-toolbar >.toolbar a{cursor:pointer}div.code-toolbar >.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar >.toolbar a,div.code-toolbar >.toolbar button,div.code-toolbar >.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,0.2);box-shadow:0 2px 0 0 rgba(0,0,0,0.2);border-radius:.5em}div.code-toolbar >.toolbar a:hover,div.code-toolbar >.toolbar a:focus,div.code-toolbar >.toolbar button:hover,div.code-toolbar >.toolbar button:focus,div.code-toolbar >.toolbar span:hover,div.code-toolbar >.toolbar span:focus{color:inherit;text-decoration:none} | |||
code[class*="language-"],pre[class*="language-"]{color:#ccc;background:none;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto}:not(pre) >code[class*="language-"],pre[class*="language-"]{background:#2d2d2d}:not(pre) >code[class*="language-"]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:hsl(24,20%,95%);font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px white}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:before,.line-numbers .line-highlight:after{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows >span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows >span:hover:before{background-color:rgba(128,128,128,.2)}pre[class*="language-"].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*="language-"].line-numbers >code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows >span{display:block;counter-increment:linenumber}.line-numbers-rows >span:before{content:counter(linenumber);color:#999;display:block;padding-right:0.8em;text-align:right}div.code-toolbar{position:relative}div.code-toolbar >.toolbar{position:absolute;top:.3em;right:.2em;transition:opacity 0.3s ease-in-out;opacity:0}div.code-toolbar:hover >.toolbar{opacity:1}div.code-toolbar:focus-within >.toolbar{opacity:1}div.code-toolbar >.toolbar .toolbar-item{display:inline-block}div.code-toolbar >.toolbar a{cursor:pointer}div.code-toolbar >.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar >.toolbar a,div.code-toolbar >.toolbar button,div.code-toolbar >.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,0.2);box-shadow:0 2px 0 0 rgba(0,0,0,0.2);border-radius:.5em}div.code-toolbar >.toolbar a:hover,div.code-toolbar >.toolbar a:focus,div.code-toolbar >.toolbar button:hover,div.code-toolbar >.toolbar button:focus,div.code-toolbar >.toolbar span:hover,div.code-toolbar >.toolbar span:focus{color:inherit;text-decoration:none}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.command-line-prompt >span:before{color:#999;content:' ';display:block;padding-right:0.8em}.command-line-prompt >span[data-user]:before{content:"["attr(data-user) "@"attr(data-host) "] $"}.command-line-prompt >span[data-user="root"]:before{content:"["attr(data-user) "@"attr(data-host) "] #"}.command-line-prompt >span[data-prompt]:before{content:attr(data-prompt)} |
@@ -0,0 +1 @@ | |||
Prism.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/).*)/,lookbehind:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0,alias:"variable"},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:First|Last|All)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:Inner|LeftOuter|RightOuter|FullOuter|LeftAnti|RightAnti)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:List|Ignore|Error)\b/,/\bJoinAlgorithm\.(?:Dynamic|PairwiseHash|SortMerge|LeftHash|RightHash|LeftIndex|RightIndex)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Double|Decimal)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf8|Utf16|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Int8|Int16|Int32|Int64|Function|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:true|false)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])(?!\d)[\w.]+(?=\s*\()/,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time|type)\b/,alias:"variable"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},Prism.languages.pq=Prism.languages.powerquery,Prism.languages.mscript=Prism.languages.powerquery; |
@@ -0,0 +1 @@ | |||
Prism.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\w+(?=\s*\()/,property:/\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}; |
@@ -0,0 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var f=/(?:^|\s)command-line(?:\s|$)/,p="command-line-prompt",m="".startsWith?function(e,t){return e.startsWith(t)}:function(e,t){return 0===e.indexOf(t)};Prism.hooks.add("before-highlight",function(e){var t=h(e);if(!t.complete&&e.code){var n=e.element.parentElement;if(n&&/pre/i.test(n.nodeName)&&(f.test(n.className)||f.test(e.element.className))){var a=e.element.querySelector("."+p);a&&a.remove();var s=e.code.split("\n");t.numberOfLines=s.length;var o=t.outputLines=[],r=n.getAttribute("data-output"),i=n.getAttribute("data-filter-output");if(null!==r)r.split(",").forEach(function(e){var t=e.split("-"),n=parseInt(t[0],10),a=2===t.length?parseInt(t[1],10):n;if(!isNaN(n)&&!isNaN(a)){n<1&&(n=1),a>s.length&&(a=s.length),a--;for(var r=--n;r<=a;r++)o[r]=s[r],s[r]=""}});else if(i)for(var l=0;l<s.length;l++)m(s[l],i)&&(o[l]=s[l].slice(i.length),s[l]="");e.code=s.join("\n")}else t.complete=!0}else t.complete=!0}),Prism.hooks.add("before-insert",function(e){var t=h(e);if(!t.complete){for(var n=e.highlightedCode.split("\n"),a=t.outputLines||[],r=0,s=a.length;r<s;r++)a.hasOwnProperty(r)&&(n[r]=a[r]);e.highlightedCode=n.join("\n")}}),Prism.hooks.add("complete",function(e){var t=h(e);if(!t.complete){var n,a=e.element.parentElement;f.test(e.element.className)&&(e.element.className=e.element.className.replace(f," ")),f.test(a.className)||(a.className+=" command-line");var r=t.numberOfLines||0,s=u("data-prompt","");if(""!==s)n=d('<span data-prompt="'+s+'"></span>',r);else n=d('<span data-user="'+u("data-user","user")+'" data-host="'+u("data-host","localhost")+'"></span>',r);var o=document.createElement("span");o.className=p,o.innerHTML=n;for(var i=t.outputLines||[],l=0,m=i.length;l<m;l++)if(i.hasOwnProperty(l)){var c=o.children[l];c.removeAttribute("data-user"),c.removeAttribute("data-host"),c.removeAttribute("data-prompt")}e.element.insertBefore(o,e.element.firstChild),t.complete=!0}function u(e,t){return(a.getAttribute(e)||t).replace(/"/g,""")}})}function d(e,t){for(var n="",a=0;a<t;a++)n+=e;return n}function h(e){var t=e.vars=e.vars||{};return t["command-line"]=t["command-line"]||{}}}(); |
@@ -1 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var i=window.ClipboardJS||void 0;i||"function"!=typeof require||(i=require("clipboard"));var c=[];if(!i){var o=document.createElement("script"),t=document.querySelector("head");o.onload=function(){if(i=window.ClipboardJS)for(;c.length;)c.pop()()},o.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",t.appendChild(o)}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var t=document.createElement("button");t.textContent="Copy";var e=o.element;return i?n():c.push(n),t;function n(){var o=new i(t,{text:function(){return e.textContent}});o.on("success",function(){t.textContent="Copied!",r()}),o.on("error",function(){t.textContent="Press Ctrl+C to copy",r()})}function r(){setTimeout(function(){t.textContent="Copy"},5e3)}})}else console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.")}(); | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var c=window.ClipboardJS||void 0;c||"function"!=typeof require||(c=require("clipboard"));var u=[];if(!c){var t=document.createElement("script"),o=document.querySelector("head");t.onload=function(){if(c=window.ClipboardJS)for(;u.length;)u.pop()()},t.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",o.appendChild(t)}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var o=t.element,e=function(t){var o={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3};for(var e in o){for(var n="data-prismjs-"+e,r=t;r&&!r.hasAttribute(n);)r=r.parentElement;r&&(o[e]=r.getAttribute(n))}return o}(o),n=document.createElement("button");return n.textContent=e.copy,n.setAttribute("type","button"),c?r():u.push(r),n;function r(){var t=new c(n,{text:function(){return o.textContent}});t.on("success",function(){n.textContent=e["copy-success"],i()}),t.on("error",function(){n.textContent=e["copy-error"],i()})}function i(){setTimeout(function(){n.textContent=e.copy},e["copy-timeout"])}})}else console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.")}(); |
@@ -1 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector){var t,s=function(){if(void 0===t){var e=document.createElement("div");e.style.fontSize="13px",e.style.lineHeight="1.5",e.style.padding="0",e.style.border="0",e.innerHTML=" <br /> ",document.body.appendChild(e),t=38===e.offsetHeight,document.body.removeChild(e)}return t},l=!0,a=0;Prism.hooks.add("before-sanity-check",function(e){var t=e.element.parentNode,n=t&&t.getAttribute("data-line");if(t&&n&&/pre/i.test(t.nodeName)){var i=0;g(".line-highlight",t).forEach(function(e){i+=e.textContent.length,e.parentNode.removeChild(e)}),i&&/^( \n)+$/.test(e.code.slice(-i))&&(e.code=e.code.slice(0,-i))}}),Prism.hooks.add("complete",function e(t){var n=t.element.parentNode,i=n&&n.getAttribute("data-line");if(n&&i&&/pre/i.test(n.nodeName)){clearTimeout(a);var r=Prism.plugins.lineNumbers,o=t.plugins&&t.plugins.lineNumbers;if(b(n,"line-numbers")&&r&&!o)Prism.hooks.add("line-numbers",e);else u(n,i)(),a=setTimeout(c,1)}}),window.addEventListener("hashchange",c),window.addEventListener("resize",function(){g("pre[data-line]").map(function(e){return u(e)}).forEach(v)})}function g(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function b(e,t){return t=" "+t+" ",-1<(" "+e.className+" ").replace(/[\n\t]/g," ").indexOf(t)}function v(e){e()}function u(u,e,c){var t=(e="string"==typeof e?e:u.getAttribute("data-line")).replace(/\s+/g,"").split(",").filter(Boolean),d=+u.getAttribute("data-line-offset")||0,f=(s()?parseInt:parseFloat)(getComputedStyle(u).lineHeight),m=b(u,"line-numbers"),p=m?u:u.querySelector("code")||u,h=[];t.forEach(function(e){var t=e.split("-"),n=+t[0],i=+t[1]||n,r=u.querySelector('.line-highlight[data-range="'+e+'"]')||document.createElement("div");if(h.push(function(){r.setAttribute("aria-hidden","true"),r.setAttribute("data-range",e),r.className=(c||"")+" line-highlight"}),m&&Prism.plugins.lineNumbers){var o=Prism.plugins.lineNumbers.getLine(u,n),a=Prism.plugins.lineNumbers.getLine(u,i);if(o){var s=o.offsetTop+"px";h.push(function(){r.style.top=s})}if(a){var l=a.offsetTop-o.offsetTop+a.offsetHeight+"px";h.push(function(){r.style.height=l})}}else h.push(function(){r.setAttribute("data-start",n),n<i&&r.setAttribute("data-end",i),r.style.top=(n-d-1)*f+"px",r.textContent=new Array(i-n+2).join(" \n")});h.push(function(){p.appendChild(r)})});var i=u.id;if(m&&i){for(var n="linkable-line-numbers",r=!1,o=u;o;){if(b(o,n)){r=!0;break}o=o.parentElement}if(r){b(u,n)||h.push(function(){u.className=(u.className+" "+n).trim()});var a=parseInt(u.getAttribute("data-start")||"1");g(".line-numbers-rows > span",u).forEach(function(e,t){var n=t+a;e.onclick=function(){var e=i+"."+n;l=!1,location.hash=e,setTimeout(function(){l=!0},1)}})}}return function(){h.forEach(v)}}function c(){var e=location.hash.slice(1);g(".temporary.line-highlight").forEach(function(e){e.parentNode.removeChild(e)});var t=(e.match(/\.([\d,-]+)$/)||[,""])[1];if(t&&!document.getElementById(e)){var n=e.slice(0,e.lastIndexOf(".")),i=document.getElementById(n);if(i)i.hasAttribute("data-line")||i.setAttribute("data-line",""),u(i,t,"temporary ")(),l&&document.querySelector(".temporary.line-highlight").scrollIntoView()}}}(); | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector){var t,o="line-numbers",s="linkable-line-numbers",a=function(){if(void 0===t){var e=document.createElement("div");e.style.fontSize="13px",e.style.lineHeight="1.5",e.style.padding="0",e.style.border="0",e.innerHTML=" <br /> ",document.body.appendChild(e),t=38===e.offsetHeight,document.body.removeChild(e)}return t},l=!0,u=0;Prism.hooks.add("before-sanity-check",function(e){var t=e.element.parentElement;if(c(t)){var n=0;v(".line-highlight",t).forEach(function(e){n+=e.textContent.length,e.parentNode.removeChild(e)}),n&&/^( \n)+$/.test(e.code.slice(-n))&&(e.code=e.code.slice(0,-n))}}),Prism.hooks.add("complete",function e(t){var n=t.element.parentElement;if(c(n)){clearTimeout(u);var i=Prism.plugins.lineNumbers,r=t.plugins&&t.plugins.lineNumbers;if(b(n,o)&&i&&!r)Prism.hooks.add("line-numbers",e);else d(n)(),u=setTimeout(f,1)}}),window.addEventListener("hashchange",f),window.addEventListener("resize",function(){v("pre").filter(c).map(function(e){return d(e)}).forEach(y)})}function v(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function b(e,t){return e.classList.contains(t)}function y(e){e()}function c(e){return!(!e||!/pre/i.test(e.nodeName))&&(!!e.hasAttribute("data-line")||!(!e.id||!Prism.util.isActive(e,s)))}function d(u,e,c){var t=(e="string"==typeof e?e:u.getAttribute("data-line")||"").replace(/\s+/g,"").split(",").filter(Boolean),d=+u.getAttribute("data-line-offset")||0,f=(a()?parseInt:parseFloat)(getComputedStyle(u).lineHeight),p=Prism.util.isActive(u,o),n=u.querySelector("code"),h=p?u:n||u,m=[],g=n&&h!=n?function(e,t){var n=getComputedStyle(e),i=getComputedStyle(t);function r(e){return+e.substr(0,e.length-2)}return t.offsetTop+r(i.borderTopWidth)+r(i.paddingTop)-r(n.paddingTop)}(u,n):0;t.forEach(function(e){var t=e.split("-"),n=+t[0],i=+t[1]||n,r=u.querySelector('.line-highlight[data-range="'+e+'"]')||document.createElement("div");if(m.push(function(){r.setAttribute("aria-hidden","true"),r.setAttribute("data-range",e),r.className=(c||"")+" line-highlight"}),p&&Prism.plugins.lineNumbers){var o=Prism.plugins.lineNumbers.getLine(u,n),s=Prism.plugins.lineNumbers.getLine(u,i);if(o){var a=o.offsetTop+g+"px";m.push(function(){r.style.top=a})}if(s){var l=s.offsetTop-o.offsetTop+s.offsetHeight+"px";m.push(function(){r.style.height=l})}}else m.push(function(){r.setAttribute("data-start",String(n)),n<i&&r.setAttribute("data-end",String(i)),r.style.top=(n-d-1)*f+g+"px",r.textContent=new Array(i-n+2).join(" \n")});m.push(function(){h.appendChild(r)})});var i=u.id;if(p&&Prism.util.isActive(u,s)&&i){b(u,s)||m.push(function(){u.classList.add(s)});var r=parseInt(u.getAttribute("data-start")||"1");v(".line-numbers-rows > span",u).forEach(function(e,t){var n=t+r;e.onclick=function(){var e=i+"."+n;l=!1,location.hash=e,setTimeout(function(){l=!0},1)}})}return function(){m.forEach(y)}}function f(){var e=location.hash.slice(1);v(".temporary.line-highlight").forEach(function(e){e.parentNode.removeChild(e)});var t=(e.match(/\.([\d,-]+)$/)||[,""])[1];if(t&&!document.getElementById(e)){var n=e.slice(0,e.lastIndexOf(".")),i=document.getElementById(n);if(i)i.hasAttribute("data-line")||i.setAttribute("data-line",""),d(i,t,"temporary ")(),l&&document.querySelector(".temporary.line-highlight").scrollIntoView()}}}(); |
@@ -1 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var o="line-numbers",a=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(e,n){if("PRE"===e.tagName&&e.classList.contains(o)){var t=e.querySelector(".line-numbers-rows"),i=parseInt(e.getAttribute("data-start"),10)||1,r=i+(t.children.length-1);n<i&&(n=i),r<n&&(n=r);var s=n-i;return t.children[s]}},resize:function(e){u([e])},assumeViewportIndependence:!0},t=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null},n=void 0;window.addEventListener("resize",function(){e.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,u(Array.prototype.slice.call(document.querySelectorAll("pre."+o))))}),Prism.hooks.add("complete",function(e){if(e.code){var n=e.element,t=n.parentNode;if(t&&/pre/i.test(t.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,o)){n.classList.remove(o),t.classList.add(o);var i,r=e.code.match(a),s=r?r.length+1:1,l=new Array(s+1).join("<span></span>");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(i),u([t]),Prism.hooks.run("line-numbers",e)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function u(e){if(0!=(e=e.filter(function(e){var n=t(e)["white-space"];return"pre-wrap"===n||"pre-line"===n})).length){var n=e.map(function(e){var n=e.querySelector("code"),t=e.querySelector(".line-numbers-rows");if(n&&t){var i=e.querySelector(".line-numbers-sizer"),r=n.textContent.split(a);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var s=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:r,lineHeights:[],oneLinerHeight:s,sizer:i}}}).filter(Boolean);n.forEach(function(e){var i=e.sizer,n=e.lines,r=e.lineHeights,s=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach(function(e,n){if(e&&1<e.length){var t=i.appendChild(document.createElement("span"));t.style.display="block",t.textContent=e}else r[n]=s})}),n.forEach(function(e){for(var n=e.sizer,t=e.lineHeights,i=0,r=0;r<t.length;r++)void 0===t[r]&&(t[r]=n.children[i++].getBoundingClientRect().height)}),n.forEach(function(e){var n=e.sizer,t=e.element.querySelector(".line-numbers-rows");n.style.display="none",n.innerHTML="",e.lineHeights.forEach(function(e,n){t.children[n].style.height=e+"px"})})}}}(); | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var o="line-numbers",a=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(e,n){if("PRE"===e.tagName&&e.classList.contains(o)){var t=e.querySelector(".line-numbers-rows");if(t){var i=parseInt(e.getAttribute("data-start"),10)||1,r=i+(t.children.length-1);n<i&&(n=i),r<n&&(n=r);var s=n-i;return t.children[s]}}},resize:function(e){u([e])},assumeViewportIndependence:!0},t=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null},n=void 0;window.addEventListener("resize",function(){e.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,u(Array.prototype.slice.call(document.querySelectorAll("pre."+o))))}),Prism.hooks.add("complete",function(e){if(e.code){var n=e.element,t=n.parentNode;if(t&&/pre/i.test(t.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,o)){n.classList.remove(o),t.classList.add(o);var i,r=e.code.match(a),s=r?r.length+1:1,l=new Array(s+1).join("<span></span>");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(i),u([t]),Prism.hooks.run("line-numbers",e)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function u(e){if(0!=(e=e.filter(function(e){var n=t(e)["white-space"];return"pre-wrap"===n||"pre-line"===n})).length){var n=e.map(function(e){var n=e.querySelector("code"),t=e.querySelector(".line-numbers-rows");if(n&&t){var i=e.querySelector(".line-numbers-sizer"),r=n.textContent.split(a);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var s=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:r,lineHeights:[],oneLinerHeight:s,sizer:i}}}).filter(Boolean);n.forEach(function(e){var i=e.sizer,n=e.lines,r=e.lineHeights,s=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach(function(e,n){if(e&&1<e.length){var t=i.appendChild(document.createElement("span"));t.style.display="block",t.textContent=e}else r[n]=s})}),n.forEach(function(e){for(var n=e.sizer,t=e.lineHeights,i=0,r=0;r<t.length;r++)void 0===t[r]&&(t[r]=n.children[i++].getBoundingClientRect().height)}),n.forEach(function(e){var n=e.sizer,t=e.element.querySelector(".line-numbers-rows");n.style.display="none",n.innerHTML="",e.lineHeights.forEach(function(e,n){t.children[n].style.height=e+"px"})})}}}(); |
@@ -1 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var r={html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",arff:"ARFF",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",basic:"BASIC",bbcode:"BBcode",bnf:"BNF",rbnf:"RBNF",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cil:"CIL",cmake:"CMake",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",glsl:"GLSL",graphql:"GraphQL",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",kts:"Kotlin Script",kt:"Kotlin",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",lolcode:"LOLCODE",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",mel:"MEL",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",parigp:"PARI/GP",objectpascal:"Object Pascal",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",py:"Python",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)","shell-session":"Shell session",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",iecst:"Structured Text (IEC 61131-3)","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trig:"TriG",ts:"TypeScript",uscript:"UnrealScript",uc:"UnrealScript",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly",wiki:"Wiki markup",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Prism.plugins.toolbar.registerButton("show-language",function(e){var a=e.element.parentNode;if(a&&/pre/i.test(a.nodeName)){var t,o=a.getAttribute("data-language")||r[e.language]||((t=e.language)?(t.substring(0,1).toUpperCase()+t.substring(1)).replace(/s(?=cript)/,"S"):t);if(o){var s=document.createElement("span");return s.textContent=o,s}}})}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}(); | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var r={none:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",arff:"ARFF",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",basic:"BASIC",bbcode:"BBcode",bnf:"BNF",rbnf:"RBNF",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cil:"CIL",cmake:"CMake",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",glsl:"GLSL",graphql:"GraphQL",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",kts:"Kotlin Script",kt:"Kotlin",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",lolcode:"LOLCODE",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",mel:"MEL",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",iecst:"Structured Text (IEC 61131-3)","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly",wiki:"Wiki markup",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Prism.plugins.toolbar.registerButton("show-language",function(e){var a=e.element.parentNode;if(a&&/pre/i.test(a.nodeName)){var t,s=a.getAttribute("data-language")||r[e.language]||((t=e.language)?(t.substring(0,1).toUpperCase()+t.substring(1)).replace(/s(?=cript)/,"S"):t);if(s){var o=document.createElement("span");return o.textContent=s,o}}})}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}(); |
@@ -1 +1 @@ | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var i=[],l={},c=function(){};Prism.plugins.toolbar={};var e=Prism.plugins.toolbar.registerButton=function(e,n){var t;t="function"==typeof n?n:function(e){var t;return"function"==typeof n.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){n.onClick.call(this,e)})):"string"==typeof n.url?(t=document.createElement("a")).href=n.url:t=document.createElement("span"),n.className&&t.classList.add(n.className),t.textContent=n.text,t},e in l?console.warn('There is a button with the key "'+e+'" registered already.'):i.push(l[e]=t)},t=Prism.plugins.toolbar.hook=function(a){var e=a.element.parentNode;if(e&&/pre/i.test(e.nodeName)&&!e.parentNode.classList.contains("code-toolbar")){var t=document.createElement("div");t.classList.add("code-toolbar"),e.parentNode.insertBefore(t,e),t.appendChild(e);var r=document.createElement("div");r.classList.add("toolbar");var n=i,o=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(a.element);o&&(n=o.map(function(e){return l[e]||c})),n.forEach(function(e){var t=e(a);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),r.appendChild(n)}}),t.appendChild(r)}};e("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,a,r=t.getAttribute("data-label");try{a=document.querySelector("template#"+r)}catch(e){}return a?n=a.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=r),n}}),Prism.hooks.add("complete",t)}}(); | |||
!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var i=[],l={},c=function(){};Prism.plugins.toolbar={};var e=Prism.plugins.toolbar.registerButton=function(e,n){var t;t="function"==typeof n?n:function(e){var t;return"function"==typeof n.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){n.onClick.call(this,e)})):"string"==typeof n.url?(t=document.createElement("a")).href=n.url:t=document.createElement("span"),n.className&&t.classList.add(n.className),t.textContent=n.text,t},e in l?console.warn('There is a button with the key "'+e+'" registered already.'):i.push(l[e]=t)},t=Prism.plugins.toolbar.hook=function(a){var e=a.element.parentNode;if(e&&/pre/i.test(e.nodeName)&&!e.parentNode.classList.contains("code-toolbar")){var t=document.createElement("div");t.classList.add("code-toolbar"),e.parentNode.insertBefore(t,e),t.appendChild(e);var r=document.createElement("div");r.classList.add("toolbar");var n=i,o=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(a.element);o&&(n=o.map(function(e){return l[e]||c})),n.forEach(function(e){var t=e(a);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),r.appendChild(n)}}),t.appendChild(r)}};e("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,a,r=t.getAttribute("data-label");try{a=document.querySelector("template#"+r)}catch(e){}return a?n=a.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=r),n}}),Prism.hooks.add("complete",t)}}(); |
@@ -9,9 +9,9 @@ | |||
Author URI: https://plugin-planet.com/ | |||
Donate link: https://monzillamedia.com/donate.html | |||
Requires at least: 4.1 | |||
Tested up to: 5.6 | |||
Stable tag: 2.6 | |||
Version: 2.6 | |||
Tested up to: 5.7 | |||
Stable tag: 2.7 | |||
Version: 2.7 | |||
Requires PHP: 5.6.20 | |||
Text Domain: prismatic | |||
Domain Path: /languages | |||
@@ -32,7 +32,7 @@ | |||
You should have received a copy of the GNU General Public License | |||
with this program. If not, visit: https://www.gnu.org/licenses/ | |||
Copyright 2020 Monzilla Media. All rights reserved. | |||
Copyright 2021 Monzilla Media. All rights reserved. | |||
*/ | |||
if (!defined('ABSPATH')) die(); | |||
@@ -105,6 +105,7 @@ if (!class_exists('Prismatic')) { | |||
'line_numbers' => false, | |||
'show_language' => false, | |||
'copy_clipboard' => false, | |||
'command_line' => false, | |||
'singular_only' => true, | |||
); | |||
@@ -146,7 +147,7 @@ if (!class_exists('Prismatic')) { | |||
private function constants() { | |||
if (!defined('PRISMATIC_VERSION')) define('PRISMATIC_VERSION', '2.6'); | |||
if (!defined('PRISMATIC_VERSION')) define('PRISMATIC_VERSION', '2.7'); | |||
if (!defined('PRISMATIC_REQUIRE')) define('PRISMATIC_REQUIRE', '4.1'); | |||
if (!defined('PRISMATIC_NAME')) define('PRISMATIC_NAME', 'Prismatic'); | |||
if (!defined('PRISMATIC_AUTHOR')) define('PRISMATIC_AUTHOR', 'Jeff Starr'); | |||
@@ -9,9 +9,9 @@ Contributors: specialk | |||
Author URI: https://plugin-planet.com/ | |||
Donate link: https://monzillamedia.com/donate.html | |||
Requires at least: 4.1 | |||
Tested up to: 5.6 | |||
Stable tag: 2.6 | |||
Version: 2.6 | |||
Tested up to: 5.7 | |||
Stable tag: 2.7 | |||
Version: 2.7 | |||
Requires PHP: 5.6.20 | |||
Text Domain: prismatic | |||
Domain Path: /languages | |||
@@ -36,7 +36,7 @@ Check out a [demo post using Highlight.js](https://dev-tricks.com/favorite-highl | |||
**Prism.js Features** | |||
* Supports __56__ coding languages | |||
* Supports __50+__ coding languages | |||
* Choose from all __8__ available Prism themes | |||
* Provides a Gutenberg block for adding code snippets | |||
* Provides TinyMCE/Visual buttons for adding code snippets | |||
@@ -54,8 +54,8 @@ Check out a [demo post using Highlight.js](https://dev-tricks.com/favorite-highl | |||
**Highlight.js Features** | |||
* Supports __42__ coding languages | |||
* Choose from all __90+__ available Highlight themes | |||
* Supports __50+__ coding languages | |||
* Choose from all __98__ available Highlight themes | |||
* Provides a Gutenberg block for adding code snippets | |||
* Provides TinyMCE/Visual buttons for adding code snippets | |||
* Customize the Highlight.js init JavaScript | |||
@@ -321,7 +321,7 @@ Any/all of these plugins can be enabled in the Prism.js settings. To learn more | |||
**About Prism.js** | |||
Prism.js version used in Prismatic plugin: __1.21.0__ | |||
Prism.js version used in Prismatic plugin: __1.23.0__ | |||
__Prism.js resources__ | |||
@@ -381,6 +381,7 @@ __Supported Languages__ | |||
Pascal = pascal | |||
Perl = perl | |||
PHP = php | |||
PowerQuery = powerquery, pq, mscript | |||
PowerShell = powershell | |||
Python = python | |||
R = r | |||
@@ -391,6 +392,7 @@ __Supported Languages__ | |||
SCSS = scss | |||
Shell Session = shell-session | |||
Solidity = solidity | |||
Splunk SPL = splunk-spl | |||
SQL = sql | |||
Swift = swift | |||
TSX = tsx | |||
@@ -419,7 +421,7 @@ _I'm glad to add more languages, [make a suggestion](https://perishablepress.com | |||
**About Highlight.js** | |||
Highlight.js version used in Prismatic plugin: __10.1.2__ | |||
Highlight.js version used in Prismatic plugin: __10.5.0__ | |||
__Highlight.js resources__ | |||
@@ -443,6 +445,7 @@ __Supported Languages__ | |||
AppleScript = applescript, osascript | |||
Arduino = arduino | |||
Bash = bash, sh, zsh | |||
C = c, h | |||
C# = cs, csharp | |||
C++ = cpp, c, cc, h, c++, h++, hpp | |||
CSS = css | |||
@@ -457,11 +460,12 @@ __Supported Languages__ | |||
Groovy = groovy | |||
HTML/XML/Etc. = xml, html, xhtml, rss, atom, xjb, xsd, xsl, plist | |||
HTTP = http, https | |||
Ini = ini | |||
Ini/TOML = ini, toml | |||
JSON = json | |||
Java = java, jsp | |||
JavaScript = javascript, js, jsx | |||
Kotlin = kotlin | |||
Less = less | |||
Lua = lua | |||
Makefile = makefile, mk, mak | |||
Markdown = markdown, md, mkdown, mkd | |||
@@ -471,15 +475,19 @@ __Supported Languages__ | |||
Perl = perl, pl, pm | |||
Plaintext = plaintext, txt, text | |||
PowerShell = powershell, ps | |||
Properties = properties | |||
Python = python, py, gyp | |||
Python REPL = python-repl, pycon | |||
R = r | |||
Ruby = ruby, rb, gemspec, podspec, thor, irb | |||
Rust = rust | |||
Scala = scala | |||
SCSS = scss | |||
Shell Session = shell | |||
SQL = sql | |||
Swift = swift | |||
TypeScript = typescript, ts | |||
VB.Net = vbnet, vb | |||
YAML = yaml | |||
So for example, to specify a code block as C++, you would write: | |||
@@ -552,6 +560,15 @@ If you are not using Gutenberg Block Editor, you can disable the plugin's block | |||
FYI: the Prismatic block styles are included via: `/prismatic/css/styles-blocks.css` | |||
**How to escape nested code tags?** | |||
Currently the only way to display nested `<code>` tags is to use the following shortcode: | |||
`[prismatic_code][/prismatic_code]` | |||
Currently this works only for **inline** `<code>` tags. More details [here](https://wordpress.org/support/topic/sourcecode-with-tags-i-e-nested-tags/#post-13651551). | |||
**Got a question?** | |||
Send any questions or feedback via my [contact form](https://perishablepress.com/contact/) | |||
@@ -584,6 +601,20 @@ Links, tweets and likes also appreciated. Thank you! :) | |||
Thank you to everyone providing feedback! If you like Prismatic, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/prismatic/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you! | |||
**2.7 (2021/02/09)** | |||
* Updates Highlight.js to version 10.5.0 | |||
* Adds several new Highlight.js themes | |||
* Adds Highlight.js langauges: C, Less, Properties, Python REPL, SCSS, VB.Net | |||
* Updates Prism.js to version 1.23.0 | |||
* Adds Prism.js plugin, [Command Line](https://prismjs.com/plugins/command-line/) | |||
* Adds Prism.js languages: Splunk SPL, PowerQuery | |||
* Improves loading of `prismatic-blocks` stylesheet (Thanks [@hwk-fr](https://wordpress.org/support/topic/missing-style-dependency-primatic-blocks/)) | |||
* Fixes bug with Visual Editor and code escaping | |||
* Fixes bug with jQuery modal styles | |||
* Updates default translation template | |||
* Tests on WordPress 5.7 | |||
**2.6 (2020/11/10)** | |||
* Adds option to disable the Prismatic block stylesheet | |||