1、注册github账号,wordpress需安装oEmbed Gist插件
2、将ipynb文件上传至Gist。Create a new Gist (github.com)(直接将文件拖入即可,记得要键入文件名和后缀名)

3、保存,复制网址备用。

4、如为古腾堡编辑器,写文章时需添加一个经典编辑器模块,将网址复制其中,会自动生成和GitHub中一致的模块

效果如下
1、注册github账号,wordpress需安装oEmbed Gist插件
2、将ipynb文件上传至Gist。Create a new Gist (github.com)(直接将文件拖入即可,记得要键入文件名和后缀名)
3、保存,复制网址备用。
4、如为古腾堡编辑器,写文章时需添加一个经典编辑器模块,将网址复制其中,会自动生成和GitHub中一致的模块
效果如下