This is a Rails app demonstrating integration of the Alongslide layout framework. See also the gem source.
- The minimal
ContentController
load Alongslide-flavored Markdown demo content - The
index.html.erb
view 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.js
loads the required fonts and styles asynchronously and then kicks off the Alongslide render in browser.applications.css
sets up the bare minimum browser reset CSS for Alongslide to function.config/demo.md
anddemo.css
are strictly demo content.application.rb
precompilesdemo.css
separately so that it can be loaded via Ajax.