mdq 0.10.0

Select and render specific elements in a Markdown document
Documentation
[given]
md = '''
[fizz](https://example.com/buzz)
'''

[chained]
needed = false


[expect."match and output"]
cli_args = ["--link-format", "keep", "[]()"]
output = '''
[fizz](https://example.com/buzz)'''


[expect."match quiet"]
cli_args = ["--link-format", "keep", "[]()", "-q"]
output = ''


[expect."no match"]
cli_args = ["--link-format", "keep", "[no match]()"]
output = ''
expect_success = false