From e641e332d1a9a535d771525e69f72c4cc091a99f Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 3 Aug 2024 16:23:00 +0200 Subject: [PATCH] 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. --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index 1563219..395a041 100644 --- a/functions.php +++ b/functions.php @@ -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);