DownmarkerWPF icon indicating copy to clipboard operation
DownmarkerWPF copied to clipboard

Jekyll - Live Preview support

Open shiftkey opened this issue 13 years ago • 1 comments
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

shiftkey avatar Jan 03 '12 12:01 shiftkey

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

JakeGinnivan avatar Nov 24 '13 00:11 JakeGinnivan