Skip to content
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

Problems with bold and italic #9

Open
Torsten-K opened this issue Aug 31, 2018 · 3 comments
Open

Problems with bold and italic #9

Torsten-K opened this issue Aug 31, 2018 · 3 comments
Labels

Comments

@Torsten-K
Copy link

Torsten-K commented Aug 31, 2018

I hope I can explain the issue I ran into. When I type in an asterisk and begin typing my text, it is displayed in italics in the editor, which is quite all right. Two asterisks make the text look bold, which is also correct.

But when I want to format an existing passage of text, say by typing an asterisk at the beginning and another at the end of the passage, the text keeps appearing as normal text, not as italic (or bold) text. In the preview everything looks fine, only in the editor the wysiwyg is missing (even after saving or re-opening the document or restarting Caret).

Caret 4.0.0.rc18 on Xubuntu 18.04 64-bit

@astoilkov
Copy link
Contributor

Hi Torsten,

Do you have new lines between the asterisks? Currently, the editor doesn't support multiline parsing of inline elements.

@Torsten-K
Copy link
Author

I tested again, and it works with paragraphs which only have one line (the editor itself may break the lines visually, at the line length defined in the settings, of course), but in deed it fails when I put in line breaks.

Interestingly, a few Markdown editors show italics or bold, even if there are line breaks, but most editors do not.

@astoilkov
Copy link
Contributor

Yes. We are aware of this issue and plan to fix it in the future. Thanks for reporting it.

@astoilkov astoilkov added the bug label Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants