We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The test:
@test("test create_markdown_table") def _(): column_data = { "commands": [ "Cut to end of line", "Transpose", "Delete to beginning of line" ], "shortcuts": [ "`Control + K`", "`Control + T`", "`Command + Backspace`" ], "targets": [ "Editor", "Editor", "Editor" ] } markdown_table = """ | **Command** | **Target** | **Default Shortcut** | |-----------------------------|--------------|------------------------| | Cut to end of line | Editor | `Control + K` | | Delete to beginning of line | Editor | `Command + Backspace` | | Transpose | Editor | `Control + T` | """ assert create_markdown_table(column_data) == textwrap.dedent(markdown_table)
The output:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The test:
The output:
The text was updated successfully, but these errors were encountered: