Skip to content

Commit

Permalink
Break URLs and links on long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmyersdev committed Jul 7, 2024
1 parent 0b9253b commit e9a36fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editor/extensions/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ export const theme = (): Extension => {
{
tag: tags.link,
color: 'var(--ink-internal-syntax-link-color)',
wordBreak: 'break-all',
},
{
tag: tags.url,
color: 'var(--ink-internal-syntax-url-color)',
wordBreak: 'break-all',
},
// string group
{
Expand Down

0 comments on commit e9a36fc

Please sign in to comment.