社区讨论LinuxDo 最新
Mediawiki导出为ai知识库(markdown)的小工具
convert.php.7z (2.3 KB) 自用的,或许有人会需要,传上来吧,需要装pandoc。 !/bin/bash while IFS= read -r file; do [ -z "$file" ] && continue php convert.php --filename="$file" --output="$file-知识库" done < "filelist.txt"
内容摘要
作者:#秋冥
板块:#搞七捻三
convert.php.7z (2.3 KB)
自用的,或许有人会需要,传上来吧,需要装pandoc。
#!/bin/bash
while IFS= read -r file; do
[ -z "$file" ] && continue
php convert.php --filename="$file" --output="$file-知识库"
done < "filelist.txt"
资讯来源
LinuxDo