# How do I ensure that my custom code fence shows up in exported PDFs?
#obsidian/api/faq
---
> The PDF export waits for some async tasks to execute. If the plugin author didn't properly return the async task, then we won't wait for them to render their portion, so nothing gets rendered. Specifically for the todoist plugin, they should mark this function as async and wait for the query to execute so that we can properly render the PDF