Markdown to html python commandline transfer tool
sudo apt update
sudo apt install python-pip
sudo apt install python-pip
# cd to your workspace directory , below will lay down git folder from github
git clone https://github.com/Python-Markdown/markdown.git
cd markdown
pip install markdown
python -m markdown --help
echo "Some **Markdown** text." | python -m markdown > output.html
python -m markdown input_file.txt > output2.html
標籤: command line, html, markdown, pip, python
0 個意見:
張貼留言
訂閱 張貼留言 [Atom]
<< 首頁