New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

characters are modified in the language field of the code fence without warning #750

Closed
pzhaonet opened this Issue Jun 22, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@pzhaonet

pzhaonet commented Jun 22, 2017

Thanks a lot. Typora is a best markdown editor I have ever used. Only two issues are not satisfactory to me. The first is the default language of the code fences (#290), and the second is that some characters are modified automatically in the language field of the code fence.

I am an R user. I often write R markdown documents, in which I have codes like this:

```{r, fig.cap='my fig'}
# my code
```

If I type these texts in the source mode in Typora, Typora converts it automatically into:

```{r, fig.cap='my fig'}
# my code
```

when I switch to the normal mode.

Typora converts " into " automatically as well.

I had a nightmare-like experience. I had such a long R markdown document written in another text editor, and I opened it with Typora. I did nothing and closed it without saving, and all the quotation marks were converted without any warning. I found that this R markdown document could not be compiled by R. It took me a lot of time to find what the problem was. A "find and replace" way could convert the document back, but is not practical.

I am wondering if there is a way to switch off the automatic converting for the code fences.

Thank you very much.

@abnerlee abnerlee added the bug label Jun 22, 2017

@abnerlee

This comment has been minimized.

Show comment
Hide comment
@abnerlee

abnerlee Aug 14, 2017

Contributor

should be fixed in the newest version

Contributor

abnerlee commented Aug 14, 2017

should be fixed in the newest version

@abnerlee abnerlee closed this Aug 14, 2017

@pzhaonet

This comment has been minimized.

Show comment
Hide comment
@pzhaonet

pzhaonet Aug 14, 2017

Yes, fixed! Fantastic! Thanks a lot!

pzhaonet commented Aug 14, 2017

Yes, fixed! Fantastic! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment