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

fix: Allow multi-line descriptions to be rendered in Livebook without error #1590

Merged

Conversation

sevenseacat
Copy link
Contributor

The mix ash.generate_livebook task was generating bad Markdown for multiline attributes - the new lines were being included as-is which broke the tables.

This introduces a little helper to use breaks instead of newlines, and renders much better.

Before:

Screenshot 2024-11-07 at 5 03 23 PM

After:

Screenshot 2024-11-07 at 5 02 45 PM

Contributor checklist

  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@barnabasJ barnabasJ merged commit fb0771a into ash-project:main Nov 7, 2024
34 checks passed
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

Successfully merging this pull request may close these issues.

2 participants