BoostIO / boostnote-mobile

Boostnote for iOS and Android 🚀
https://boostnote.io/
MIT License
816 stars 158 forks source link

! Exclamation mark causes line break in code block #68

Closed drmason13 closed 6 years ago

drmason13 commented 6 years ago

Just installed on android 7.1.2 today.

Wrote a code block:

println!("hello world");

Which rendered as (using the preview):

println !("hello world");

Experimenting a little; it is clear that every ! is printed on a new line when previewed.

Has an exception been made to cause this behaviour?

Personally it is very unhelpful. For me, expected behaviour would be: never add line breaks in a code block: all characters should be rendered as is - simple as that.

kazup01 commented 6 years ago

The feature of Markdown render we are using is still incomplete. We will make this library ourselves and plan to release it in open source. I'm apologize for any inconvenience, please wait for a while.

kohei-takata commented 6 years ago

Hi @drmason13 ! I think this bug was fixed in the latest version. Could you update boostnote in google play store, and try again? I will close this issue, but if you find something wrong, please comment.