Sha256: 5d8a885ed724156c3a348b8f4622a1766987e7a24353eb857e5342f3c6861687

Contents?: true

Size: 1.25 KB

Versions: 41

Compression:

Stored size: 1.25 KB

Contents

Feature: Markdown (Kramdown) support
  In order to test included Kramdown support

  Scenario: Kramdown smartypants extension
    Given a fixture app "markdown-app"
    And a file named "config.rb" with:
      """
      set :markdown_engine, :kramdown
      set :markdown, smartypants: true
      """
    Given the Server is running at "markdown-app"
    When I go to "/smarty_pants.html"
    Then I should see "“Hello”"

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

      ![image](blank.gif)

      [mail@mail.com](mailto:mail@mail.com)
      """
    Given the Server is running at "markdown-app"
    When I go to "/link_and_image/"
    Then I should see "/smarty_pants/"
    Then I should see 'width="1"'
    And I should see 'height="1"'
    And I should see 'src="/images/blank.gif"'
    And I should see 'src="/images/blank.gif"'
    And I should see "mail@mail.com"

Version data entries

41 entries across 41 versions & 3 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/markdown_kramdown.feature
middleman-core-4.3.4 features/markdown_kramdown.feature
middleman-core-4.3.3 features/markdown_kramdown.feature
middleman-core-4.3.2 features/markdown_kramdown.feature
middleman-core-4.3.1 features/markdown_kramdown.feature
middleman-core-4.3.0 features/markdown_kramdown.feature
middleman-core-4.3.0.rc.4 features/markdown_kramdown.feature
middleman-core-4.3.0.rc.3 features/markdown_kramdown.feature
middleman-core-4.3.0.rc.2 features/markdown_kramdown.feature
middleman-core-with-external-sources-watch-fix-4.1.10 features/markdown_kramdown.feature
middleman-core-with-external-sources-watch-fix-4.1.0 features/markdown_kramdown.feature
middleman-core-4.3.0.rc.1 features/markdown_kramdown.feature
middleman-core-4.2.1 features/markdown_kramdown.feature
middleman-core-4.2.0 features/markdown_kramdown.feature
middleman-core-4.1.14 features/markdown_kramdown.feature
middleman-core-4.1.13 features/markdown_kramdown.feature
middleman-core-4.1.12 features/markdown_kramdown.feature
middleman-core-4.1.11 features/markdown_kramdown.feature
middleman-core-4.1.10 features/markdown_kramdown.feature
middleman-core-4.1.9 features/markdown_kramdown.feature