Code Block Behavior Enhancements

<code> within <pre> doesn’t wrap that I’m aware of.

A white-space: pre-wrap; declaration could work as a basic fix (that’s what I’m currently injecting) or see what options are available if we want to support proper indentation and such.

Ideal world it would work like Notion’s editor where a user can choose whether they want their code to wrap or not.

Other

  • Syntax support is a nice-to-have but not necessary.

  • A copy button is a nice-to-have from a UX standpoint.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

5 months ago

Author

Skyler Reeves

Subscribe to post

Get notified by email when there are changes.