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

feat: add markdown glamour styles #245

Merged
merged 9 commits into from
Apr 16, 2024
Merged

feat: add markdown glamour styles #245

merged 9 commits into from
Apr 16, 2024

Conversation

getinnocuous
Copy link
Member

This is fairly standalone and can be merged into main once #237 has.

@getinnocuous
Copy link
Member Author

dark-theme
light-theme

Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

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

Using markdownToString fails with a segfault. adding the missing error handling reveals

open ./overmind-theme.json: no such file or directory

This should instead use embed, e.g. like

cli/cmd/root.go

Lines 32 to 33 in 12b9c37

//go:embed commit.txt
var cliVersion string

cmd/theme.go Outdated Show resolved Hide resolved
@DavidS-ovm
Copy link
Contributor

@getinnocuous maybe add a small test for the method so I don't have to run the code in my head?

@DavidS-ovm
Copy link
Contributor

I've added the test to give you a leg up here, @getinnocuous .

Before merging this also should be rebased and squashed to clean up the history.

@getinnocuous getinnocuous marked this pull request as ready for review April 16, 2024 13:53
@getinnocuous getinnocuous requested a review from DavidS-ovm April 16, 2024 13:53
Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

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

Sweet! Please don't forget to rebase or squash this before (or during) merge.

@getinnocuous getinnocuous merged commit 9de3442 into main Apr 16, 2024
5 checks passed
@getinnocuous getinnocuous deleted the add-markdown-theme branch April 16, 2024 13:56
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.

2 participants