-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from evilguy50/main
added nim filter docs
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |