# A snippet for a function

**URL:** <https://community.silverbullet.md/t/a-snippet-for-a-function/1738>\
**Category:** v1: Troubleshooting (legacy)\
**Created:** [February 4, 2025, 12:05am UTC](https://community.silverbullet.md/t/a-snippet-for-a-function/1738 "2025-02-04T00:05:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bent0n](https://community.silverbullet.md/user_avatar/community.silverbullet.md/bent0n/32/604_2.png) [@bent0n](https://community.silverbullet.md/u/bent0n)\
**Post date:** [February 5, 2025, 8:12am UTC](https://community.silverbullet.md/t/a-snippet-for-a-function/1738/4 "2025-02-05T08:12:21Z")

</div>

For this maybe look at [space-lua](https://community.silverbullet.md/t/video-demo-and-current-state-of-space-lua/1655). It lets you use functions inline and renders the results directly.

So you could do `{{myfunction(parameter)}}` directly inside your pages.

For now, it’s only available on edge.

---

_[View the full topic](https://community.silverbullet.md/t/a-snippet-for-a-function/1738)._
