Open ghost opened 14 years ago
Yea the Rakefile doesn't really have access to your config, it's just a helper script, so you're going to have to edit it manually:
path = "#{Toto::Paths[:articles]}/#{Time.now.strftime("%Y-%m-%d")}#{'-' + slug if slug}.#{@config[:ext]}"
You can change the @config[:ext] to 'markdown'
I believe this issue has nothing to do with toto, it's related to dorothy mostly. And I believe everyonce can tune dorothy's Rakefile to meet his needs (e.g. I have even task edit in my rakefile :))
So I really think that issue can be closed :))
Changed "set :ext" to "markdown", so Textmate picks up on the formatting when opening files. But the task "new" still uses ".txt" after changing "config.ru" (toto itself is correctly using .markdown).