Skip to content

cli: syntax highlighting customization#2675

Open
Noah12398 wants to merge 3 commits intoterrastruct:masterfrom
Noah12398:master
Open

cli: syntax highlighting customization#2675
Noah12398 wants to merge 3 commits intoterrastruct:masterfrom
Noah12398:master

Conversation

@Noah12398
Copy link
Copy Markdown

Closes #25

  • Implemented syntax highlighting customisation by specifying themes from chroma
  • Modified CLI to have flags to input syntax highlighting theme
  • Modified Render function in SVG renderer

When unspecified, the existing defaults are used as fallback (github for light and catppuccin-mocha for dark modes)

image Theme: Dracula image Theme: Nord

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.

configurable syntax highlighting theme for code blocks/snippets

1 participant