# 入力中:-\\n

**URL:** <https://meta.discourse.org/t/typing-newline/113007>\
**Category:** Feature\
**Created:** [2019 年 3 月 30 日午後 3:14 UTC](https://meta.discourse.org/t/typing-newline/113007 "2019-03-30T15:14:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2019 年 4 月 1 日午前 1:46 UTC](https://meta.discourse.org/t/typing-newline/113007/4 "2019-04-01T01:46:51Z")

</div>

Understood, it is very tricky though with our current parser cause we can not efficiently reverse map text in the editor to type of element that you are in the middle of typing.

A trivial regex here counting ``` which are followed by a bit of text and a newline, kind of works but then there is `[code]` and 3 space indent as well to worry about.

This is definitely something we are thinking about and have similar request (basic markdown highlighting) which would also lean on a similar feature.

---

_[View the full topic](https://meta.discourse.org/t/typing-newline/113007)._
