# Apply the input rules (markdown) but also keep the tokens

**URL:** https://discuss.prosemirror.net/t/apply-the-input-rules-markdown-but-also-keep-the-tokens/4513
**Category:** Uncategorized
**Created:** [March 31, 2022, 9:47pm UTC](https://discuss.prosemirror.net/t/apply-the-input-rules-markdown-but-also-keep-the-tokens/4513 "2022-03-31T21:47:06Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [April 1, 2022, 6:03am UTC](https://discuss.prosemirror.net/t/apply-the-input-rules-markdown-but-also-keep-the-tokens/4513/2 "2022-04-01T06:03:53Z")

</div>

You could fake them with `:before` style rules and such. But if you want to allow people to edit those characters directly, you might be better off building on top of something like [CodeMirror](https://codemirror.net)

---

_[View the full topic](https://discuss.prosemirror.net/t/apply-the-input-rules-markdown-but-also-keep-the-tokens/4513)._
