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