diff --git a/index.html b/index.html
index d6f1472..dfbf132 100644
--- a/index.html
+++ b/index.html
@@ -1,29 +1,31 @@
+
+
+ 节奏医生编辑器教程
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- 节奏医生编辑器教程
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 加载中...
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+ loadRDView();
+ const originalCodeRenderer = $docsify.markdown
+ ?.renderer?.code;
+ $docsify = {
+ ...$docsify,
+ ...{
+ markdown: {
+ renderer: {
+ code: function (code, lang) {
+ if (
+ lang.trim().startsWith(
+ "rdview2",
+ )
+ ) {
+ const langParts = lang
+ .trim().split(" ");
+ const width =
+ parseInt(
+ langParts[1],
+ ) || 8;
+ const height =
+ parseInt(
+ langParts[2],
+ ) || 4;
+ const scale =
+ (parseFloat(
+ langParts[3],
+ ) || 1) * 2;
+ return ``;
+ } else if (
+ lang.trim().startsWith(
+ "rdview",
+ )
+ ) {
+ return RDViewRender(
+ lang,
+ code,
+ );
+ }
+ return originalCodeRenderer
+ ? originalCodeRenderer(
+ code,
+ lang,
+ )
+ : `${
+ escapeHtml(code)
+ }
`;
+ },
+ image: function (src, title, alt) {
+ return `
${
+ alt ? `
${alt}
` : ""
+ }
`;
+ },
+ },
+ },
+ switchLightDarkMode: {
+ useSwitchMode: true,
+ top: 130,
+ right: 26,
+ svgColor: "#7d7b75",
+ },
+ search: {
+ noData: {
+ "/": "没有找到结果!",
+ },
+ paths: "auto",
+ placeholder: {
+ "/": "搜索",
+ },
+ hideOtherSidebarContent: true,
+ },
+ },
+ };
+
+
+
+
+
+
+
+
+
+
+
+
+