Test pidgy.magicΒΆ

pidgy automatically provides the magics when it is imported interactively.

import pidgy
from IPython import get_ipython
%%tangle
This is my pidgy

    print("This is my code")
%%tangle --tokens
This is my pidgy

    print("This is my code")
foo = 900
%%render
I am a Markdown template that can display {{foo}}