Skip to content

Feature: Whitespace control #127

Open
@mahor1221

Description

Consider adding a way to preserve or suppress whitespace, similar to Askama.

This feature is useful in a situation like the following:

# without whitespace control
class User(BaseModel):
    
    
    name: str
    
    
    

class UserEvent(BaseModel):
    
    
    pass
    
    

    

    
# with whitespcae control
class User(BaseModel):
    name: str

class UserEvent(BaseModel):
    pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions