Knap
Playground
Settings
Open file…
Open sample
Movie
Book
Recipe
Article
Research
Copy share link
Reset
Clear
Line wrap
Search
⌘K
Playground
Introduction
Variables
Filters
Logic
CLI
API
Data
Template
Output
Data
JSON
Drop a .json file
{ "title": "The Matrix", "year": 1999, "directors": [ "Lana Wachowski", "Lilly Wachowski" ], "genres": [ "Action", "Sci-fi" ], "plot": "A hacker discovers that reality is a simulation and joins a rebellion against its machines.", "cast": [ { "Actor": "Keanu Reeves", "Role": "Neo" }, { "Actor": "Laurence Fishburne", "Role": "Morpheus" }, { "Actor": "Carrie-Anne Moss", "Role": "Trinity" }, { "Actor": "Hugo Weaving", "Role": "Agent Smith" } ] }
Checking…
Template
Knap
Drop a .md or .txt file
--- year: {{ year }} {{ directors | wikilink | yaml_property:"directors" }} --- {{ title | h1 }} **Plot:** {{ plot | blockquote }} {% if cast %} ## Cast {{ cast | sort:"Actor" | table }} {% endif %}
Checking…
Output
Markdown
Enable JavaScript to render and validate templates in the playground.