From bb97e1a661a3dc02d369e8bc41c1b5b88d59af58 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Thu, 12 Sep 2024 09:36:08 +0800 Subject: [PATCH 1/3] Let toc and highlights_list display formulas --- src/public/app/widgets/highlights_list.js | 106 ++++++++++++++++++++-- src/public/app/widgets/toc.js | 53 ++++++++++- 2 files changed, 146 insertions(+), 13 deletions(-) diff --git a/src/public/app/widgets/highlights_list.js b/src/public/app/widgets/highlights_list.js index 032ae36ce9..3c0228133d 100644 --- a/src/public/app/widgets/highlights_list.js +++ b/src/public/app/widgets/highlights_list.js @@ -10,6 +10,7 @@ import RightPanelWidget from "./right_panel_widget.js"; import options from "../services/options.js"; import OnClickButtonWidget from "./buttons/onclick_button.js"; import appContext from "../components/app_context.js"; +import libraryLoader from "../services/library_loader.js"; const TPL = `