<indentfold>!!!
%html<beginfold id='1'>{</beginfold id='1'> :xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", "xml:lang" => "en"<endfold id='1'>}</endfold id='1'>
  %head
    %title BoBlog
    %meta<beginfold id='1'>{</beginfold id='1'>"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"<endfold id='1'>}</endfold id='1'>
    %link<beginfold id='1'>{</beginfold id='1'>rel: 'stylesheet', href: 'main.css', type: 'text/css'<endfold id='1'>}</endfold id='1'>
    :css
</indentfold>      body <beginfold id='2'>{</beginfold id='2'>
        font-size: 16px;
        margin-top: 0px;
        margin-bottom: 0px;
        font-family: Arial, sans-serif;
<indentfold>      <endfold id='2'>}</endfold id='2'>

</indentfold>      p <beginfold id='2'>{</beginfold id='2'>
        margin: 0px;
        padding: 0px;
<indentfold>      <endfold id='2'>}</endfold id='2'>
  %body
    #header
      %a<beginfold id='1'>{</beginfold id='1'>
        href: root_path,
        name: "home"
      <endfold id='1'>}</endfold id='1'>
        %h1 BoBlog
      %h2 Bob's Blog
    #content
      - @entries.each <beginfold id='3'>do</beginfold id='3'> |entry|
        .entry<beginfold id='1'>{</beginfold id='1'> id: entry.id <endfold id='1'>}</endfold id='1'>
          %h3.title= entry.title
          %p.date
            Posted on #{entry.posted.strftime("%A, %B %d, %Y")}
          %p.body= entry.body
      = button_to "Load more", entries_path,
        <beginfold id='3'>class</beginfold id='3'>: "btn btn-primary",
        method: :get,
        params: <beginfold id='3'>{</beginfold id='3'> last_id: @entries.map(&:id).min <endfold id='3'>}</endfold id='3'>,
        form: <beginfold id='3'>{</beginfold id='3'> data: <beginfold id='3'>{</beginfold id='3'> turbo_stream: true <endfold id='3'>}</endfold id='3'> <endfold id='3'>}</endfold id='3'>
    :ruby
      provide(:title, user_title(@user))
      provide(:og, user_opengraph(@user))
      provide(:meta, user_twitter_card(@user))

      parent_layout 'user/profile'
    #footer
      %p
        All content copyright © Bob

    #filterTest
      %p Just testing some more HAML filters

      :coffee
        window.alert "Hello from CoffeeScript #{1}"

      :coffeescript
        window.alert "Hello from CoffeeScript again, #{1 + 1}"

      :css
</indentfold>        #filterTest <beginfold id='2'>{</beginfold id='2'>
          display: none;
<indentfold>        <endfold id='2'>}</endfold id='2'>

      :erb
        For some reason <%= "ERB works too #{@abcdef}" %>.

      :plain
        Anything else should be treated as plain text.
        This also means that the following shouldn't be highlighted:

        %h1#superawesomeheading Heading 1

      %div Filter test done
