This is a Rails app demonstrating integration of the Alongslide layout framework. See also the gem source.
- The minimal
ContentControllerload Alongslide-flavored Markdown demo content - The
index.html.erbview uses Alongslide's Ruby text processors to generate HTML from the Markdown, and creates the DOM elements for the Alongslide frontend to write to. application.jsloads the required fonts and styles asynchronously and then kicks off the Alongslide render in browser.applications.csssets up the bare minimum browser reset CSS for Alongslide to function.config/demo.mdanddemo.cssare strictly demo content.application.rbprecompilesdemo.cssseparately so that it can be loaded via Ajax.