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

Improve the tab size in code samples #4398

Open
svivian opened this issue Nov 11, 2024 · 0 comments
Open

Improve the tab size in code samples #4398

svivian opened this issue Nov 11, 2024 · 0 comments

Comments

@svivian
Copy link

svivian commented Nov 11, 2024

Example feed: https://gomakethings.com/feed/index.xml
Example article: https://gomakethings.com/styling-the-shadow-dom-with-css-variables-in-web-components/

In that article there are code blocks with tab indentation, however in NNW they appear as huge tabs (8 spaces) making it difficult to read:

IMG_9835

In CSS this can be specified using tab-size: 4; . I could probably create a custom theme to do this but IMO it makes more sense to have a good default that all themes follow - I tried several themes and none of them set this.

@brentsimmons brentsimmons added this to the NetNewsWire 6.1.5 milestone Nov 11, 2024
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

No branches or pull requests

2 participants