Skip to content

Commit

Permalink
Merge pull request #83 from evilguy50/main
Browse files Browse the repository at this point in the history
added nim filter docs
  • Loading branch information
MedicalJewel105 committed Oct 21, 2021
2 parents 4eb6f8c + 03b070a commit f6ec853
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/_pages/docs/filters/nim-filters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
permalink: /docs/nim-filters
layout: single
classes: wide
title: Nim Filters
sidebar:
nav: "sidebar"
---

The syntax for running a nim filter is this:

```json
{
"runWith": "nim",
"script": "./filters/example.nim"
}
```

## Requirements and Dependencies

If your filter has dependencies, put a .nimble file in the same directory as your .nim file.
Documentation on how to make a .nimble file is located at https://github.com/nim-lang/nimble#creating-packages

0 comments on commit f6ec853

Please sign in to comment.