convert_markdown_into_ipynb.sh 184 字节
Newer Older
G
gongweibao 已提交
1 2
#!/bin/sh
for file in $@ ; do
Y
Yu Yang 已提交
3
    markdown-to-ipynb < $file > ${file%.*}".ipynb"
G
gongweibao 已提交
4
    if [ $? -ne 0 ]; then
G
gongweibao 已提交
5
        echo >&2 "markdown-to-ipynb $file error"
G
gongweibao 已提交
6 7 8 9
        exit 1
    fi
done