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

fix: added tab-size support for top-level content and code elements #632

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

makhnatkin
Copy link
Contributor

Description

This PR fixes tab alignment issues by adding support for configurable tab sizes:

  • CSS Variables: Added --yfm-tab-size and --yfm-tab-size-code for flexible tab configuration.
  • Scoped Application: Applied tab-size to top-level content and code blocks
  • Fallback: Ensures proper tab size even if variables are not defined globally.

@makhnatkin makhnatkin merged commit 892c8a6 into master Feb 5, 2025
1 check passed
@makhnatkin makhnatkin deleted the fix/tab-size branch February 5, 2025 07:15
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