Skip to content

feat: syntax highlighting - #7

Merged
darwin67 merged 6 commits into
mainfrom
syntax-highlighting
Jul 9, 2026
Merged

feat: syntax highlighting#7
darwin67 merged 6 commits into
mainfrom
syntax-highlighting

Conversation

@darwin67

@darwin67 darwin67 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • add the syntax_highlight paste column with a default of plain
  • accept and return syntax_highlight metadata through the v1 paste API
  • render paste detail pages with Lumis syntax highlighting based on the stored language
  • show syntax badges in the paste list and detail views
  • add left-side line numbers using Lumis line metadata
  • cover the new metadata, highlighting, escaping, and line-number behavior in tests

Verification

  • mix test test/textbin_web/live/ui/paste_live_test.exs
  • mix precommit

@github-actions github-actions Bot added the feat label Jul 9, 2026
@darwin67
darwin67 marked this pull request as ready for review July 9, 2026 08:27
@darwin67
darwin67 merged commit 440ac30 into main Jul 9, 2026
5 checks passed
@darwin67
darwin67 deleted the syntax-highlighting branch July 9, 2026 08:27
@chaba2-bot chaba2-bot Bot mentioned this pull request Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant