# Only syntax highlighting?

**URL:** https://discuss.codemirror.net/t/only-syntax-highlighting/2635
**Category:** Uncategorized
**Created:** [September 28, 2020, 3:43pm UTC](https://discuss.codemirror.net/t/only-syntax-highlighting/2635 "2020-09-28T15:43:00Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)
#### Post date: [October 4, 2020, 9:02am UTC](https://discuss.codemirror.net/t/only-syntax-highlighting/2635/5 "2020-10-04T09:02:49Z")

</div>

Not yet, but there’s no reason it should be difficult. This’d probably involve adding another export to the `highlight` module that just runs its highlighting logic over a tree and calls a function for each token.

---

_[View the full topic](https://discuss.codemirror.net/t/only-syntax-highlighting/2635)._
