From 961c34e0c6e0128782d5a713c68ecad2f1e1292d Mon Sep 17 00:00:00 2001
From: Dnomd343
Date: Sat, 11 Mar 2023 17:38:34 +0800
Subject: [PATCH] update: remove `
` tag in markdown
---
src/release/gitbook.py | 6 +++---
src/release/json_dumps.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/release/gitbook.py b/src/release/gitbook.py
index eecfddb..907f668 100755
--- a/src/release/gitbook.py
+++ b/src/release/gitbook.py
@@ -40,9 +40,9 @@ def loadCover(metadata: dict) -> None:
cover = '---\ndescription: 作者:%s\n---\n\n# %s\n\n' % (metadata['author'], metadata['name'])
cover += '\n\n'
cover += '\n>\n'.join(['> %s' % x for x in metadata['desc']]) + '\n\n'
- cover += '## [>>> TXT下载 <<<](https://res.343.re/Share/XXRS/%E6%A0%A9%E6%A0%A9%E8%8B%A5%E7%94%9F.txt)\n\n'
- cover += '## [>>> MOBI下载 <<<](https://res.343.re/Share/XXRS/%E6%A0%A9%E6%A0%A9%E8%8B%A5%E7%94%9F.mobi)\n\n'
- cover += '{% embed url="https://github.com/dnomd343/xxrs-crawler.git" %}\n项目地址\n{% endembed %}\n'
+ cover += '## [>>> TXT下载 <<<](https://res.343.re/Share/XXRS/%E6%A0%A9%E6%A0%A9%E8%8B%A5%E7%94%9F.txt)\n\n'
+ cover += '## [>>> MOBI下载 <<<](https://res.343.re/Share/XXRS/%E6%A0%A9%E6%A0%A9%E8%8B%A5%E7%94%9F.mobi)\n\n'
+ cover += '{% embed url="https://github.com/dnomd343/xxrs-crawler" %}\n项目地址\n{% endembed %}\n'
saveFile(os.path.join(releaseInfo['gitbookDir'], 'README.md'), cover)
diff --git a/src/release/json_dumps.py b/src/release/json_dumps.py
index c316be6..c5fec65 100755
--- a/src/release/json_dumps.py
+++ b/src/release/json_dumps.py
@@ -12,7 +12,7 @@ def jsonRelease(metadata: dict, content: dict) -> str:
return json.dumps({
'metadata': metadata,
'content': content,
- }, separators = (',', ':'))
+ }, separators = (',', ':')) # without space
if __name__ == '__main__':