Sha256: 61ff6d6c2637e3c48f71414d098825b659821c9c8eb166bc7522b20b079e5f4e

Contents?: true

Size: 1.41 KB

Versions: 34

Compression:

Stored size: 1.41 KB

Contents

Feature: Markdown
  As a hacker who likes to blog
  I want to be able to make a static site
  In order to share my awesome ideas with the interwebs

  Scenario: Markdown in list on index
    Given I have a configuration file with "paginate" set to "5"
    And I have an "index.html" page that contains "Index - {% for post in site.posts %} {{ post.content }} {% endfor %}"
    And I have a _posts directory
    And I have the following post:
      | title   | date      | content    | type     |
      | Hackers | 3/27/2009 | # My Title | markdown |
    When I run jekyll
    Then the _site directory should exist
    And I should see "Index" in "_site/index.html"
    And I should see "<h1 id='my_title'>My Title</h1>" in "_site/2009/03/27/hackers.html"
    And I should see "<h1 id='my_title'>My Title</h1>" in "_site/index.html"

  Scenario: Markdown in pagination on index
    Given I have a configuration file with "paginate" set to "5"
    And I have an "index.html" page that contains "Index - {% for post in paginator.posts %} {{ post.content }} {% endfor %}"
    And I have a _posts directory
    And I have the following post:
      | title   | date      | content    | type     |
      | Hackers | 3/27/2009 | # My Title | markdown |
    When I run jekyll
    Then the _site directory should exist
    And I should see "Index" in "_site/index.html"
    And I should see "<h1 id='my_title'>My Title</h1>" in "_site/index.html"
    

Version data entries

34 entries across 34 versions & 10 rubygems

Version Path
jekyll-1.0.2 features/markdown.feature
jekyll-1.0.1 features/markdown.feature
jekyll-1.0.0 features/markdown.feature
jekyll-1.0.0.rc1 features/markdown.feature
jekyll-1.0.0.beta4 features/markdown.feature
jekyll-1.0.0.beta3 features/markdown.feature
jekyll-1.0.0.beta2 features/markdown.feature
jekyll-1.0.0.beta1 features/markdown.feature
jekyll-0.12.1 features/markdown.feature
jekyll-reloaded-0.12.2 features/markdown.feature
jekyll-0.12.0 features/markdown.feature
spinto-jekyll-0.11.2.5 features/markdown.feature
jekyll-reloaded-0.12.1 features/markdown.feature
jekyll-reloaded-0.12 features/markdown.feature
spinto-jekyll-0.11.2.3 features/markdown.feature
spinto-jekyll-0.11.2.2 features/markdown.feature
spinto-jekyll-0.11.2.1 features/markdown.feature
jekyll-0.11.2 features/markdown.feature
vanity-1.7.1 vendor/ruby/1.9.1/gems/jekyll-0.11.0/features/markdown.feature
jekyll-0.11.0 features/markdown.feature