-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
featureNew feature or requestNew feature or requestinsidersCandidate for InsidersCandidate for Insiders
Description
Describe the bug
Stdout created in functions not defined in the code block itself will not be rendered (but shows up in the stdout of the mkdocs run)
To Reproduce
I expect the same rendered output in all three code blocks below:
print("hello")def hello():
print("hello")
hello()from somepackage import hello # same definition of hello as before
hello()The last block executes, and its output shows up in the mkdocs stdout, but the "result" block created by markdown-exec remains empty.
Expected behavior
All three blocks should give the same result.
System (please complete the following information):
mkdocs 1.4.3
markdown-exec 1.6.0
Platform: linux
OS: posix
Python: 3.9.16
osamimi and jpfeuffer
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestinsidersCandidate for InsidersCandidate for Insiders