dotfiles/home/private_dot_config/zsh/functions/format-qmd

6 lines
159 B
Text
Raw Normal View History

2023-11-09 15:55:54 -06:00
#!/usr/bin/env zsh
##? format-qmd - use jupytext and ruff to format qmd
2023-02-17 09:26:31 -06:00
2023-11-09 15:55:54 -06:00
jupytext --from qmd $1 --pipe 'ruff format {}' --opt 'notebook_metadata_filter=-all'
2023-02-17 09:26:31 -06:00