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

notebooks: properly handle code blocks #3215

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

patosullivan
Copy link
Member

Fixes LAND-1404 by making sure we send code blocks as blocks in notebook posts.

Only handled as blocks in notebook posts, nothing changes for chat posts.

Inline and block code still render correctly in chat messages, and now both render correctly in notebook posts.

Tested locally on a livenet moon.

PR Checklist

  • Includes changes to desk files
  • Describes how you tested the PR locally (test ship vs livenet)
  • If a new feature, includes automated tests
  • Comments added anywhere logic may be confusing without context

Fixes LAND-1404 by making sure we send code blocks as `blocks` in notebook posts.

Only handled as blocks in notebook posts, nothing changes for chat posts.

Inline and block code still render correctly in chat messages, and now both render correctly in notebook posts.
Copy link

linear bot commented Feb 7, 2024

Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@patosullivan patosullivan merged commit 9230d3e into develop Feb 7, 2024
1 check passed
@patosullivan patosullivan deleted the po/land-1404-send-code-blocks-as-blocks branch February 7, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants