Sha256: ecb60beb0b8d238ebd726e451c965e289d663a694d5c29ee86f89bc564497f47

Contents?: true

Size: 1.18 KB

Versions: 30

Compression:

Stored size: 1.18 KB

Contents

Feature: Markdown support in Slim
  In order to test support of the Slim markdown filter

  Scenario: Markdown filter in Slim works
    Given a fixture app "markdown-in-slim-app"
    And a file named "config.rb" with:
      """
      set :markdown_engine, :redcarpet
      activate :directory_indexes
      """
    And a file named "source/markdown_filter.html.slim" with:
      """
      markdown:
        # H1

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


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

        ![image](blank.gif)
      """
    Given the Server is running at "markdown-in-slim-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

30 entries across 30 versions & 3 rubygems

Version Path
middleman-core-4.5.1 features/markdown_redcarpet_in_slim.feature
middleman-core-4.5.0 features/markdown_redcarpet_in_slim.feature
middleman-core-4.4.3 features/markdown_redcarpet_in_slim.feature
middleman-core-4.4.2 features/markdown_redcarpet_in_slim.feature
middleman-core-4.4.0 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.11 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.10 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.8 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.7 features/markdown_redcarpet_in_slim.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.6 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.5 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.4 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.3 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.2 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.1 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.0 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.0.rc.4 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.0.rc.3 features/markdown_redcarpet_in_slim.feature
middleman-core-4.3.0.rc.2 features/markdown_redcarpet_in_slim.feature