notedown.sh 211 字节
Newer Older
L
liaogang 已提交
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash
set -e

pip install notedown

cur_path="$(cd "$(dirname "$0")" && pwd -P)"
cd $cur_path/../

#convert md to ipynb
for file in */{README,README\.en}.md ; do
    notedown $file > ${file%.*}.ipynb
done