DownmarkerWPF
DownmarkerWPF copied to clipboard
Jekyll - Live Preview support
trafficstars
The Preview pane should detect if the page has been written within a Jekyll/Octopress application, and render the DOM around the post correctly.
How to detect if the markdown file is within a Jekyll/Octopress application:
- the _config.yml file is found at the current folder or the folder above - do we really need to support further recursion?
When this is successful:
- ... from the folder containing the _config.yml
- look inside the _layouts folder for all *.html files - these are your layout templates
- these will need to be parsed (with potentially other templates involved) to create the full page.
- find the CSS stylesheets referenced on the page and load those files into memory
- apply those styles to the live preview
We know if it is a jekyll site already. markpad probably should shell out to pretzel to update the preview. This should be an option I think