apps/blueprint/models/outline.rb in brief-1.9.9 vs apps/blueprint/models/outline.rb in brief-1.9.11
- old
+ new
@@ -1,8 +1,10 @@
class Brief::Apps::Blueprint::Outline
include Brief::Model
+ defined_in Pathname(__FILE__)
+
meta do
type
end
content do
@@ -12,7 +14,18 @@
h4 "h4"
h5 "h5"
h6 "h6"
headings "h1,h2,h3,h4,h5,h6"
settings "code.yaml:first-of-type", :serialize => :yaml, :hide => true
+
+ nested_links "li a"
+
+ items "ul > li"
+ nested_items "ul > li li"
+ end
+
+ helpers do
+ def link_elements
+ document.css('a')
+ end
end
end