mixu / markdown-styles

Markdown to static HTML generator and multiple CSS themes for Markdown
1.85k stars 250 forks source link

Wrong separator when copying non-markdown files #24

Closed mniinio closed 9 years ago

mniinio commented 9 years ago

Problem: Asset folders, pictures and other non-markdown files are not copied due to the input path formed with wrong file separator

See problem in this message when copying for example assets:

Copy non-markdown files C:\development\doc_generation\my-custom-skin\assets/\css\my-custom.css => C:\development\doc_generation\static\docs\assets\css\my-custom.css

Problem separator is added by the generation code and is between the assets and css, it should be assets\css not assets/\css like in ouput.

Command used to generate this: generate-md --layout my-custom-skin --input .\docs --output .\static\docs

Operating system Windows

mniinio commented 9 years ago

Actually, I noticed this was just a problem in the logged messages, the files were copied, but there were some other issues