Sha256: c0d7e8f8c5914b672677f3e1f6c722a99aad047c7417ad611017239ce34093cc

Contents?: true

Size: 885 Bytes

Versions: 1

Compression:

Stored size: 885 Bytes

Contents

Feature: Vega


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

      {% 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 'vegalite.md' with content:
      """
      ---
      ---

      {% 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

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-diagrams-0.9.3 features/vega.feature