Skip to content

Commit 31ec829

Browse files
committed
update
1 parent a83beb4 commit 31ec829

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ Flomo Code 是一款 Chrome 扩展程序,为您的 Flomo 笔记提供代码语
66

77
## 安装
88

9-
您可以从 [Release](https://github.com/greycodee/flomo-code/releases/) 下载安装 flomo-code.crx
10-
,然后拖入 Chrome 扩展程序页面。
11-
9+
您可以从 [Release](https://github.com/greycodee/flomo-code/releases/) 下载源码压缩包,然后解压文件。在 **Chrome 扩展程序**页面打开右上角的**开发者模式**,选择**加载已解压的扩展程序**,选择解压的文件路径,就可加载flomo-code
1210
## 使用
1311

1412
要使用 Flomo Code,只需在 Flomo 笔记中添加 Markdown 代码块,点击 flomo 页面右下角`绿色按钮`,即可突出显示语法。

content.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ window.onload = function () {
2525
hljsbtn.style.alignItems = "center";
2626

2727
hljsbtn.addEventListener("click", () => {
28-
console.log("点击了");
2928
const memos = document.getElementsByClassName("richText");
3029
const memos_array = Array.from(memos);
31-
console.log(memos_array.length);
3230
memos_array.forEach((memo) => {
3331
let children = memo.children;
34-
console.log(children);
3532
const memo_p_array = Array.from(children);
3633
let languageFlag = false;
3734
let codeContentArr = [];

0 commit comments

Comments
 (0)