spec/fixtures/example/models/page.rb in brief-1.11.5 vs spec/fixtures/example/models/page.rb in brief-1.11.6

- old
+ new

@@ -10,5 +10,31 @@ paragraph "p:first-of-type" yaml_data "pre[lang='yaml'] code", :serialize => :yaml yaml "pre[lang='yaml'] code", :serialize => :yaml end end + +__END__ + +@@ example +--- + type: page + title: Example Page +--- + +# This is the title of the page + +this is the first paragraph + +## other heading + +below is some yaml. you can embed data under a heading, if it is relevant to that heading. + +```yaml +setting: value +``` + +@@ template + +<% if object.title %> +# <%= object.title %> +<% end %>