rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 262 forks source link

Request: completely separate styling from logic #39

Open miljan-aleksic opened 10 years ago

miljan-aleksic commented 10 years ago

Hi, I love Flatdoc, but have decided to implement a front-end framework removing the default theme. I was not able to do that smoothly because some of the code, the Menu creation (Flatdoc.menuView) for example, is set on the core files.

I could make an workaround adding the class after rendering, setting up my own Runner or overriding the current, but seems it has sense to move menuView and any other similar function to the Theme js, instead.

What do you think?