add format function for quarto markdown
This commit is contained in:
parent
803632a27c
commit
f21d6209b6
1 changed files with 5 additions and 0 deletions
|
@ -79,3 +79,8 @@ alias bathelp='bat --plain --language=help'
|
||||||
help() {
|
help() {
|
||||||
"$@" --help 2>&1 | bathelp
|
"$@" --help 2>&1 | bathelp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
format-qmd() {
|
||||||
|
jupytext --from qmd $1 --pipe black
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue