# Export rich text as pdf

**URL:** <https://community.appfarm.io/t/export-rich-text-as-pdf/168>\
**Category:** Ask the community\
**Tags:** pdf\
**Created:** [January 11, 2023, 1:04pm UTC](https://community.appfarm.io/t/export-rich-text-as-pdf/168 "2023-01-11T13:04:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SigurdEileras](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/sigurdeileras/32/2621_2.png) [@SigurdEileras](https://community.appfarm.io/u/SigurdEileras)\
**Post date:** [January 11, 2023, 1:04pm UTC](https://community.appfarm.io/t/export-rich-text-as-pdf/168/1 "2023-01-11T13:04:12Z")

</div>

Hi:)

I have some rich text stored as a rich text data type in the database and I want to export this to a PDF where it’s still formatted nicely and I keep the same text element that is used in the rich text, but it’s disabled when I try to reference the rich text in the function for template string.

Is there another way of exporting rich text as a pdf in Appfarm, or a workaround for this issue?
