Previous week|Assciment list|Next week
in this week, I have tried:
write markdown language atMacHG,reffer to Daringfireball.net and Markdown:Syntax(zh-tw)
Use MacHG and command line to synchronizedMercurial server at Fablab Taipei.
Try to install HarpJSand Node.js to test the page in local machine.
But Still can not compile page in one command...
Most of the imgage capture by OSX screen capture hot key, use preview.app to cut and optimize by optipng. meanwhile, use homebrew package managment tool
basically use google calendar to trace the project milestone. Use Trello to note the to-do list.
todo:(In chinese lunar year vacation) 1.add css to the website. 2.practice compile website in one script.
use pandoc to export all these pages in one command.
find . -name \*.md -type f -exec pandoc -f markdown -t html -o {}.html {} \;
Notice. Need to run this command in pages' folder
this command modify from here.
then, use OSXs' finder search and replace file name from xxx.md.html to xxx.html.
After try and error, here is some hint I had learn.
1.hg command need to run in the repository folder.
2.the update sequence: hg pull->hg update->[copy and paste the new files]->hg add->hg commit->[use vim command to revove top 3 line and "HG:" in each line]->hg update->hg push
Mercurial have a bug of determining the upper-lower case file name. i.e., If you upload 'project.html' to the server, after that upload the 'Project.html' can't idenfy the difference of two files.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.