feat: add MathJax styles to enhance mathematical rendering

Included MathJax CSS to the theme's enqueued styles to improve the display of mathematical content. This ensures better formatting and readability of mathematical expressions throughout the theme.
This commit is contained in:
Kumi 2024-08-03 16:23:00 +02:00
parent 8ad34a21d7
commit e641e332d1
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -25,6 +25,7 @@ add_action('after_setup_theme', 'duck_behavior_journal_setup');
function duck_behavior_journal_scripts()
{
wp_enqueue_style('bootstrap-css', get_template_directory_uri() . '/assets/dist/css/bootstrap.min.css');
wp_enqueue_style('mathjax-css', get_template_directory_uri() . '/assets/dist/css/mathjax.css');
wp_enqueue_style('theme-style', get_stylesheet_uri());
wp_enqueue_script('jquery', get_template_directory_uri() . '/assets/dist/js/jquery-3.7.1.min.js', array(), null, true);
wp_enqueue_script('bootstrap-js', get_template_directory_uri() . '/assets/dist/js/bootstrap.bundle.min.js', array(), null, true);