HEX
Server: nginx/1.24.0
System: Linux VM-8-5-opencloudos 6.6.47-12.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 24 16:15:42 CST 2024 x86_64
User: www (1000)
PHP: 8.0.26
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/aiwellbore.com/wp-content/plugins/wp-githuber-md/src/Views/example/prism.php
<?php 
if ( ! defined('GITHUBER_PLUGIN_NAME') ) die; 
/**
 * View for Controller/Setting
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package Githuber
 * @since 1.2.0
 * @version 1.3.0
 */
?>
<p style="color: #aa0000"><?php echo __( 'If you switch to another highlighter moudle, you have to update every your post to take effect.<br />Because only the language files defined in the code block will be loaded, not all fat packed file.', 'wp-githuber-md' ); ?> </p>
<pre class="prettyprint setting-example">
<code class="language-markdown">
```php
function sayHello() {
	return &#39;Hello! World.&#39;;
}

echo sayHello();
```
</code>
</pre>
<p class="description"><?php echo __( 'Block identification code:', 'wp-githuber-md' ); ?> 
<a href="https://terryl.in/en/prism-js-html-code-language-list-for-syntax-highlighting/" target="_blank">
<?php echo __( 'Check out this page to view the full list.', 'wp-githuber-md' ); ?></a>
</p>

<script>

	(function($) {
		$(function() {

			$('#wpuf-githuber_modules-support_prism').click(function() {
				if ($(this).is(':checked')) {
					if ($('#wpuf-githuber_modules-support_highlight').is(':checked')) {
						$('#wpuf-githuber_modules-support_highlight').trigger('click');
					}
				}
			});

			$('#wpuf-githuber_modules-support_highlight').click(function() {
				if ($(this).is(':checked')) {
					if ($('#wpuf-githuber_modules-support_prism').is(':checked')) {
						$('#wpuf-githuber_modules-support_prism').trigger('click');
					}
				}
			});
		});
	})(jQuery);

</script>