Skip to content

AndrewWasHere/jupyter_to_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Modify for Blog

A sed script to strip unwanted HTML and CSS settings from an HTML page generated by Jupyter notebook so that the output is suitable for cutting and pasting into a blog post.

Tested on Blogger.

Use

   $ sed -f modify_for_blog < in > out

if you make this scripe executable:

   $ modify_for_blog < in > out

if you have xclip, or something similar, installed:

   $ modify_for_blog < in | xclip

then paste into the blog editor

where

in is the file path to the Jupyter notebook HTML file. out is the file path to the edited HTML for cutting and pasting.

License

This sed script is hereby released to the public domain.

About

Modify HTML generated by Jupyter notebook so that it is suitable to cut-and-paste into a blog post.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published