Sha256: 131a3b854204c1270a0c519989ee90fdd71923f3c59e01f0ab1c3fba6fef35f5

Contents?: true

Size: 474 Bytes

Versions: 25

Compression:

Stored size: 474 Bytes

Contents

class Brief::Apps::Blueprint::Outline
  include Brief::Model

  defined_in Pathname(__FILE__)

  meta do
    type
  end

  content do
    h1 "h1"
    h2 "h2"
    h3 "h3"
    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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
brief-1.12.7 apps/blueprint/models/outline.rb
brief-1.12.6 apps/blueprint/models/outline.rb
brief-1.12.5 apps/blueprint/models/outline.rb
brief-1.12.4 apps/blueprint/models/outline.rb
brief-1.12.3 apps/blueprint/models/outline.rb
brief-1.12.2 apps/blueprint/models/outline.rb
brief-1.12.1 apps/blueprint/models/outline.rb
brief-1.12.0 apps/blueprint/models/outline.rb
brief-1.11.10 apps/blueprint/models/outline.rb
brief-1.11.9 apps/blueprint/models/outline.rb
brief-1.11.8 apps/blueprint/models/outline.rb
brief-1.11.7 apps/blueprint/models/outline.rb
brief-1.11.6 apps/blueprint/models/outline.rb
brief-1.11.5 apps/blueprint/models/outline.rb
brief-1.11.4 apps/blueprint/models/outline.rb
brief-1.11.3 apps/blueprint/models/outline.rb
brief-1.11.2 apps/blueprint/models/outline.rb
brief-1.11.1 apps/blueprint/models/outline.rb
brief-1.11.0 apps/blueprint/models/outline.rb
brief-1.10.1 apps/blueprint/models/outline.rb