Sha256: 7c2187afac2b869642b43a6d3faa5054a4cf62bf079022e526310744e754a8c0

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

Feature: Vega Block


  Scenario: Basic Vega Rendering
    Given I have a file named 'vega.md' with:
      """
      ---
      ---

      {% vega %}
      {
        "data": {
          "values": [
            {"a": "A", "b": 28}
          ]
        },
        "mark": "bar"
      }
      {% endvega %}
      """
    When I run jekyll build
    Then the file '_site/vega.html' should exist
    And I should see svg output in '_site/vega.html'

  Scenario: Basic Vegalite Rendering
    Given I have a file named 'vegalite.md' with:
      """
      ---
      ---

      {% vegalite %}
      {
        "data": {
          "values": [
            {"a": "A", "b": 28}
          ]
        },
        "mark": "bar"
      }
      {% endvegalite %}
      """
    When I run jekyll build
    Then the file '_site/vegalite.html' should exist
    And I should see svg output in '_site/vegalite.html'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-diagrams-0.11.0.pre features/vega_block.feature
jekyll-diagrams-0.10.0 features/vega/block.feature