middleman/middleman-syntax

View on GitHub
fixtures/test-app/source/code_slim.html.slim

Summary

Maintainability
Test Coverage
h1 Ruby

= code('ruby') do
  |
    def foo(bar)
      puts "baz"
    end

h1 Whatever

= code
  |
    This is some code

h1 Options

= code('ruby', {:line_numbers => true, :start_line => 7}) do
  |
    def foo(bar)
      puts "baz"
    end