 
 (defn editor
   "Component that renders the editor and preview. Compiles the app state input
-   to markdown and dangerously sets it to output-area. Editing the input-area 
-   triggers an update to the app state."
+  to markdown and dangerously sets it to output-area. Editing the input-area 
+  triggers an update to the app state."
   [input owner]
   (reify
     om/IRender


(defn remove-document
  "Removes a document from localStorage and updates app state. If the
   removed document was the current document, also triggers a document
   state reset."
  [app title]
  (p/remove-document title)
  (om/update! app :titles (p/get-all-titles))


(defn save-button
  "Component that renders the save button. The button is disabled
  when there are no changes to title or input. Clicking the save
  button triggers the app state to update and saves to localStorage."
  [app owner]
  (reify
    om/IRender
