File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -332,14 +332,15 @@ def run(self):
332
332
if isinstance (self .diff , Path ):
333
333
_ = self .diff .write_text (diff , encoding = "utf-8" )
334
334
elif self .diff :
335
- diff_md = f"````````diff\n { diff } \n ````````"
336
- rich .console .Console ().print (rich .markdown .Markdown (diff_md ))
335
+ console = rich .console .Console ()
336
+ diff_md = f"## Diff\n \n ````````diff\n { diff } \n ````````"
337
+ console .print (rich .markdown .Markdown (diff_md ))
337
338
338
339
if isinstance (self .output , Path ):
339
340
_ = self .output .write_text (updated_yaml , encoding = "utf-8" )
340
341
logger .info (f"written updated description to { self .output } " )
341
342
elif self .output == "display" :
342
- updated_md = f"```yaml\n { updated_yaml } \n ```"
343
+ updated_md = f"## Updated bioimageio.yaml \n \n ```yaml\n { updated_yaml } \n ```"
343
344
rich .console .Console ().print (rich .markdown .Markdown (updated_md ))
344
345
elif self .output == "stdout" :
345
346
print (updated_yaml )
You can’t perform that action at this time.
0 commit comments