Lecture overview -- Keyboard shortcut: 'u'  Previous page: Recipes -- Keyboard shortcut: 'p'  Next page: Recipe abstractions on top of HTML -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Slide 15 : 30

Simple HTML recipe pages
Using XHTML in LAML
(div 'css:margin-bottom "2cm"
     (span (b "Recipe:") "Pita bread") (br)
     "Ingredients:"
     (ul
      (li "1.5 tsp dry yeast") (li "1 cup water")
      (li "1 tbs honey")       (li "1.5 tsp salt")
      (li "3 cups flour")
     )

     "Procedure:" 
     (ol
      (li "Dissolve the yeast")  (li "Add honey, folur and salt")
      (li "Oil the mixing bowl") (li "Punch the dough down")
      (li "Roll each ball to 0.5 inch thickness")
    ))
recipes-unabstracted.laml
Two recipes in context of the entire document.

Commonalities are not shared

The level of abstraction is low