Skip to content

Commit 5d63023

Browse files
committed
automatic formatting of markdown
1 parent 27117d0 commit 5d63023

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

extras/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ channels:
55
dependencies:
66
# local development
77
- black
8+
- mdformat
89
- nbqa
910
- notebook
1011
- jupyter_contrib_nbextensions

extras/scripts/update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ jupyter nbconvert \
1212
"$NOTEBOOK"
1313

1414
nbqa black "$NOTEBOOK"
15+
# https://github.com/nbQA-dev/nbQA/issues/555#issuecomment-974651504
16+
nbqa mdformat "$NOTEBOOK" --nbqa-md

0 commit comments

Comments
 (0)