deprecated-packages / symplify

[DISCONTINUED] Check split packages in their own repositories :)
MIT License
621 stars 189 forks source link

[Statie] How do I use Markdown? #1443

Closed xy2z closed 5 years ago

xy2z commented 5 years ago

How do I use Markdown in Statie? When I create a file.md it's not being generated to output dir. Can you show an example?

TomasVotruba commented 5 years ago

Hi, how exactly do you use command and where is the file located?

(It needs content, empty file would be skipped.)

File with your Markdown code:

/source/file.md

Run Command

vendor/bin/statie generate source

Output

/output/file.html
xy2z commented 5 years ago

Hmm this doesn't work for me Not on Windows or Ubuntu...

Content of the file /source/hello.md

# Hello!

test

Never comes in the output dir, but after generating it says OK.

If I rename the file to hello.twig it works...

TomasVotruba commented 5 years ago

I'll look on it today. Thanks for finding the right solution, that gives me an idea where to look