---
created:
  source_filename: /home/runner/work/mknodes/mknodes/.venv/lib/python3.14t/site-packages/anyenv/async_run.py
  source_function: run_sync.<locals>.wrapper
  source_line_no: 52
title: Utility filters
---

The `jinja2` environment also contains some pre-defined filters.

!!! info
     The output gets passed to the first argument of the filter function.
     Filters are separated from the variable by a pipe symbol (|) and may have optional arguments in parentheses. Multiple filters can be chained. The output of one filter is applied to the next.


A base collection of filters is provided by [jinjarope](https://phil65.github.io/jinjarope)

Additional filters provided by MkNodes:

### `get_link`

Example:
```
"PageName" | get_link
```

::: mknodes.info.linkprovider.LinkProvider.get_link
    options:
      show_root_heading: false
      show_root_toc_entry: false

### `get_url`

Example:
```
"PageName" | get_url
```

::: mknodes.info.linkprovider.LinkProvider.get_url
    options:
      show_root_heading: false
      show_root_toc_entry: false

TODO