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

Line break ignored in Card Description #4199

Closed
knieskopp opened this issue Nov 9, 2022 · 2 comments
Closed

Line break ignored in Card Description #4199

knieskopp opened this issue Nov 9, 2022 · 2 comments

Comments

@knieskopp
Copy link

Line breaks in card description are ignored once editing is finished.

Steps to reproduce:

  1. create card
  2. add description with line breaks
  3. click outside of card to finish edit
  4. reopen card

Expected behavior:
Line breaks showing up in description preview

grafik

grafik

@ma651851384
Copy link

ma651851384 commented Nov 16, 2022

Hi @knieskopp . As far as I know, this is not a bug, it is a known function of the markdown language, which is used for formatting the text of the deck card description.

To add a line break, you have to add at least two spaces (by space bar) at the end of a line. Then, the line break works fine. I have tried this with my installation.

@juliusknorr
Copy link
Member

Yes, this is the expected behaviour and the markdown spec is also referenced in https://deck.readthedocs.io/en/latest/Markdown/

However this might of course be confusing. This will improve once we switch to a rich text editor as planned with #1561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants