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

code block fixes #200

Merged
merged 1 commit into from
Jun 28, 2024
Merged

code block fixes #200

merged 1 commit into from
Jun 28, 2024

Conversation

cloverich
Copy link
Owner

  • fix code block pasting normalization error
  • fix issue where pasting into a code block would overflow, then produce multiple child code blocks
  • fix long lines in code blocks from overflowing and increasing width of the parent editor (they internaly scroll-x instead)
  • handle ts language shortcuts (many older notes use this short-hand, which is supported by prism)

Closes #85
Closes #184

- fix code block pasting normalization error
- fix issue where pasting into a code block would overflow, then produce multiple child code blocks
- fix long lines in code blocks from overflowing and increasing width of the parent editor (they internaly scroll-x instead)
- handle ts language shortcuts (many older notes use this short-hand, which is supported by prism)
@cloverich cloverich merged commit db206ab into master Jun 28, 2024
2 checks passed
@cloverich cloverich deleted the code_block_fixes branch June 28, 2024 14:11
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.

Add shortcuts for code blocks like js for javascript Code block constraint and normalization
1 participant