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

Separate renderer into their own classes #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

froemken
Copy link
Contributor

@froemken froemken commented Jan 18, 2025

This is just a first step to a much cleaner code. I have separated the renderer into their own classes, tagged them as service and inject them as interable. Here the specific renderer will be automatically detected and used to render the specific codesnippet configuration entry.

I have changed nearly no other code. OK, I have removed an empty line here and there or add an empty line for better visibility. Further I have returned a value directly instead of assigning result into a variable first and then returning it.

@froemken froemken requested a review from linawolf January 18, 2025 00:10
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