Hello -
is there a way to choose the markup for articles created with the “middleman article” command?
I like to write in Textile, but it seems that new articles are assumed to be in markdown (they have the .md extension).
thanks in advance!
Hello -
is there a way to choose the markup for articles created with the “middleman article” command?
I like to write in Textile, but it seems that new articles are assumed to be in markdown (they have the .md extension).
thanks in advance!
It’s not well documented yet, but there’s an option for that:
activate :blog do |blog|
blog.default_extension = '.textile'
end
You’d have to explore the Middleman Configuration page to discover it.
I tried it and it works as charme!
thank you very much
-a