One-line command for generating wechat post from markdown.
Note: Special markup for author and proofreader.
At the beginning of your markdown post, add:
作者:XXX { .author}
审校:XXX { .proofread}
- pandoc
For installing pandoc, please see the instructions here: pandoc installing
On MacOS, just
brew install pandoc
On Arch linux, just
pacman -S pandoc
First, make the script executable: Type in terminal:
chmod 755 ${PATH_TO_WECHATGEN}/wechatgen.sh
Then run the script:
${PATH_TO_WECHATGEN}/wechatgen.sh yourmarkdown.md
Please see the simple example in /examples folder.