https://github.com/dongweiming/divingintoipynb_pelican
a pelican blog that use ipython notebook format
https://github.com/dongweiming/divingintoipynb_pelican
Last synced: 3 months ago
JSON representation
a pelican blog that use ipython notebook format
- Host: GitHub
- URL: https://github.com/dongweiming/divingintoipynb_pelican
- Owner: dongweiming
- License: mit
- Created: 2015-01-04T02:34:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-28T14:17:53.000Z (over 10 years ago)
- Last Synced: 2025-02-15T01:28:23.039Z (4 months ago)
- Language: Makefile
- Homepage: http://dongweiming.github.io/divingintoipynb_pelican/
- Size: 1010 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pelican_blog
============a pelican blog that use ipython notebook format
Run it
-----cd
git clone --recursive https://github.com/dongweiming/divingintoipynb_pelican
git clone https://github.com/dongweiming/diving_into_ipynb
cd divingintoipynb_pelican
# create post
fab new_post:post_title # title is `post_title`
fab new_post:post_title2,slug=with_other_slug # title is `post_title2`, but filename is `content/2015-01/with_other_slug.md`
fab new_post:post_title,overwrite=yes # overwrite the `content/2015-01/post_title.md`# 1. use liquid_tags.notebook
# edit `content/2015-01/post_title.md` and add content like this:
`{% notebook xx/path/yy.ipynb %}`
# 2. use the pure ipynb
fab import_ipynb:~/diving_into_ipynb/python_2/highchart.ipynb,"ipynb title"
# edit `content/2015-01/ipynb-title.ipynb-meta`. also you can use `fab edit:article`
export PELICAN_EDITOR='emacsclient'
# fab edit:double11