Saturday, 8 June 2013

To convert markdown -files effectively to HTML -files

To convert markdown -files effectively to HTML -files

I have the following file structure
|--folder1
|   |---1.markdown
|--folder2
|   |---2.markdown
|--folder3
|   |---3.markdown
...
I would like to convert the markdown -files to HTML files such that the HTML -files are created to each specific folder. For instance 1.html should be at folder1.
I can convert one markdown -file by
markdown.py-2.6 1.markdown > 1.html
So we should somehow be able to get the word before the suffix before each HTML files.
How can you convert many markdown -files to their corresponding HTML files effectively?

No comments:

Post a Comment