Skip to content

A Jupyter Notebook magic to embed syntax highlighted regions of python files

License

Notifications You must be signed in to change notification settings

dylanhart/pyfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pyfmt

A Jupyter Notebook magic to embed syntax highlighted parts of python files.

Usage

usage: %pyfmt [<selection>[,...]] <file>

Selection Syntax

type syntax
region r<region-name>
lines l<start>:<end>

example cell

import pyfmt
%pyfmt rmyregion code.py

About

A Jupyter Notebook magic to embed syntax highlighted regions of python files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages