Skip to content

IPython cell magic to create markdown cells that contain content from python expressions

License

Notifications You must be signed in to change notification settings

transfluxus/magic_markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPython cell magic with the %%mmd command allows to include python expressions (and other things) in a markdown text. The cells can be edited as markdown, python expression are indicated by the double mustaches.

See the notebook example

Install

pip install magic-markown

in your notebook:

%load_ext magic_markdown

then you can create magic markdown cells by beginning a cell like this: %%mmd

Write markdown and insert python code whereever you need: {{"hello".upper()}}. You can also access variables and functions you defined or imported before. Checkout the full example.

About

IPython cell magic to create markdown cells that contain content from python expressions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published