-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
output.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
http://localhost:5173/zkweekly/twitter/output.html | ||
|
||
|
||
|
||
———— | ||
以上由本人 @icerdesign 收集整理及注释,欢迎转发,署名即可。查看往期可访问:https://zkshanghai.xyz/zkweekly/2024/q3.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
翻译以下ZKP专题的内容为英文,同时请不要改变原始内容的格式,尤其不要变成markdown,这个是纯文本的内容: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
input=../2024/q3.md | ||
output="output.md" | ||
|
||
sedi=(-i) && [ "$(uname)" == "Darwin" ] && sedi=(-i '') | ||
|
||
cp "$input" "$output" | ||
|
||
sed "${sedi[@]}" -e 's/^- /- \\\+ /g' "$output" | ||
sed "${sedi[@]}" -E 's/^ \[(.*)\]\((.*)\)/\n - \n - \\\- \1: \2/g' "$output" | ||
|
||
sed "${sedi[@]}" -E 's/## 一周ZKP新闻 - ([0-9.]+)/## 🚀 zkWeekly - \1\n<br\/>\n/g' "$output" |