Sha256: f2c892d24091cd1e3a71eea1d3e7463cc144945cfccd929b3acfac2b24c28646

Contents?: true

Size: 1.22 KB

Versions: 23

Compression:

Stored size: 1.22 KB

Contents

Feature: Markdown support in Haml (Kramdown)
  In order to test support of the Haml markdown filter

  Scenario: Markdown filter in Haml works (with Kramdown)
    Given a fixture app "markdown-in-haml-app"
    And a file named "config.rb" with:
      """
      set :markdown_engine, :kramdown
      activate :directory_indexes
      """
    And a file named "source/markdown_filter.html.haml" with:
      """
      :markdown
        # H1

        paragraph
      """
    Given the Server is running at "markdown-in-haml-app"
    When I go to "/markdown_filter/"
    Then I should see ">H1</h1>"
    Then I should see "<p>paragraph</p>"


  Scenario: Markdown filter in Haml uses our link_to and image_tag helpers (with Kramdown)
    Given a fixture app "markdown-in-haml-app"
    And a file named "config.rb" with:
      """
      set :markdown_engine, :kramdown
      activate :directory_indexes
      """
    And a file named "source/link_and_image.html.haml" with:
      """
      :markdown
        [A link](/link_target.html)

        ![image](blank.gif)
      """
    Given the Server is running at "markdown-in-haml-app"
    When I go to "/link_and_image/"
    Then I should see "/link_target/"
    Then I should see 'src="/images/blank.gif"'

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
middleman-core-3.3.10 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.9 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.8 features/markdown_kramdown_in_haml.feature
middleman-core-4.0.0.alpha.6 features/markdown_kramdown_in_haml.feature
middleman-core-4.0.0.alpha.5 features/markdown_kramdown_in_haml.feature
middleman-core-4.0.0.alpha.4 features/markdown_kramdown_in_haml.feature
middleman-core-4.0.0.alpha.3 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.7 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.6 features/markdown_kramdown_in_haml.feature
middleman-core-4.0.0.alpha.2 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.5 features/markdown_kramdown_in_haml.feature
middleman-core-cj-3.3.6 features/markdown_kramdown_in_haml.feature
middleman-core-cj-3.3.5 features/markdown_kramdown_in_haml.feature
middleman-core-cj-3.3.4 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.4 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.3 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.2 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.1 features/markdown_kramdown_in_haml.feature
middleman-core-3.3.0 features/markdown_kramdown_in_haml.feature
middleman-core-3.2.2 features/markdown_kramdown_in_haml.feature