# Custom renderer for Autocomplete

**URL:** https://discuss.codemirror.net/t/custom-renderer-for-autocomplete/6317
**Category:** Uncategorized
**Created:** [April 18, 2023, 5:59pm UTC](https://discuss.codemirror.net/t/custom-renderer-for-autocomplete/6317 "2023-04-18T17:59:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![egucciar](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/egucciar/32/3228_2.png) [@egucciar](https://discuss.codemirror.net/u/egucciar)
#### Post date: [April 18, 2023, 5:59pm UTC](https://discuss.codemirror.net/t/custom-renderer-for-autocomplete/6317/1 "2023-04-18T17:59:22Z")

</div>

I’d like the autocomplete to render newlines, is there a way for me to pass in a custom renderer for the autocomplete ? I’m extremely new to CodeMirror , but i searched through the docs and couldnt figure out a solution. I considered code snippets, but i couldnt find a good example that showed me how they compared to Autocomplete. I already have my code working with autocomplete so i was hoping there would be a quick fix for this issue.
