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

Add typography rules for Russian #557

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Commits on Mar 15, 2024

  1. Add typography rules for Russian

    Russian typography prohibits having one and two letter words hanging at the end of the line.
    
    There are many Russian resources discussing this, I've linked one of the better known ones.
    
    If anyone knows if this is true for Ukrainian and Belarusian as well, please let me know.
    dmalinovsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    91c1099 View commit details
    Browse the repository at this point in the history
  2. Fix indentation

    dmalinovsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    39f7173 View commit details
    Browse the repository at this point in the history
  3. Prohibit one letter words only

    This will balance between too much spacing and nice typography.
    dmalinovsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    2993296 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Explicitly list 1-letter prepositions and conjunctions only

    Otherwise, a particle "б" will be also included, and it should stay at the end of the line.
    dmalinovsky committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    59fa261 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Add meaning of the words

    Also improved indentation and reworded the comment.
    dmalinovsky committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    21a95d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e746c0e View commit details
    Browse the repository at this point in the history
  3. Match Unicode char style

    dmalinovsky committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    79d3618 View commit details
    Browse the repository at this point in the history