# \-\>kirbytext() in block index.js

**URL:** <https://forum.getkirby.com/t/kirbytext-in-block-index-js/21264>\
**Category:** Questions\
**Created:** [February 18, 2021, 5:37pm UTC](https://forum.getkirby.com/t/kirbytext-in-block-index-js/21264 "2021-02-18T17:37:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterp](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@peterp](https://forum.getkirby.com/u/peterp)\
**Post date:** [February 18, 2021, 5:37pm UTC](https://forum.getkirby.com/t/kirbytext-in-block-index-js/21264/1 "2021-02-18T17:37:42Z")

</div>

Hi all,

is it possible to use the kirbytext formatter in the index.js file?

`content.mytext->kirbyteyt();`

Or is there any way to format it in computed?

thx alot

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 18, 2021, 5:46pm UTC](https://forum.getkirby.com/t/kirbytext-in-block-index-js/21264/2 "2021-02-18T17:46:11Z")

</div>

No, there is no javascript Kirbytext method. To fetch rendered HTML, you need to fetch the rendered data from a custom endpoint.
