Skip to content

Instantly share code, notes, and snippets.

@Aaron-Bird
Aaron-Bird / yuque-markdown-download
Last active August 3, 2024 07:27
yuque-markdown-download
!(async () => {
// 配置
//是否下载储存在语雀上的图片
const DOWNLOAD_IMAGE = true;
// 修改 markdown 的图片路径
// 示例:MARKDOWN_IMAGE_PATH = "/image/";
// 效果:![](foo.png) -> ![](/image/foo.png)
const MARKDOWN_IMAGE_PATH = "";
class YuqueMarkdownDownload {
根据Unicode5.0整理如下:
1)标准CJK文字
http://www.unicode.org/Public/UNIDATA/Unihan.html
2)全角ASCII、全角中英文标点、半宽片假名、半宽平假名、半宽韩文字母:FF00-FFEF
http://www.unicode.org/charts/PDF/UFF00.pdf
3)CJK部首补充:2E80-2EFF
http://www.unicode.org/charts/PDF/U2E80.pdf