Skip to content

Format code snippet in tools section. #12

Description

@JamesPHoughton

In the "tools" tab we have a yaml code snippet for the experiment manifest that looks a bit out of place without better formatting:

image

I'm not sure what markdown renderer Jekyll is using, but would be good to format the code block in a similar way to how github does, eg. with a grey background, maybe a bit of indentation, and if possible, syntax highlighting.

- name: baseline_control
  desc: Listening study baseline condition
  playerCount: 2
  assignPositionsBy: random
  gameStages:
    - name: Intro
      type: prompt
      duration: 45
      elements:
        - intro_no_training.md
        - type: submitButton

    - name: Attitude Presurvey
      duration: 120
      elements:
        - urban_unrest_survey.md
        - type: submitButton

    - name: Discussion
      duration: 600
      chatType: video
      elements:
        - type: prompt
          file: urban_unrest_discussion.md
        - type: prompt
          file: instructions_listener.md
          showToPositions:
            - 0
        - type: prompt
          file: projects/weinstein_listening/instructions_speaker.md
          showToPositions:
            - 1

Ideally this should be done without too much change to the markdown file itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions