#!/usr/bin/env bash
# 用来将markdown 格式的简历转化成html格式
#
function change(){
echo "convert to html"
pandoc $1 -o $2 &&
sed -i "1i \
令照辉-Java研发工程师-13157198992\
\\n \
\\n\
\\n \
" >> $2
echo "finish"
}
email='zeekling@163.com'
read -p "please input markdown file:" s
read -p "please input output file:" out
change ${s} ${out} ${email}