版本号 | 修订日期 | 修订概述 | 修订人 | |
---|---|---|---|---|
v0.0.1 | 2019-01-26 | 初始化 | James Zhan | [email protected] |
Github
加载 .ipynb
的速度较慢,建议在 Nbviewer 中查看该项目。
Mac OS X 环境
brew cask info julia
brew cask install julia
julia -version
其他环境
官网下载对应环境的安装包安装即可。
为了更好地使用 Jupyter NoteBook,推荐安装 jupyter
, 推荐使用 Anaconda。
wget https://repo.continuum.io/archive/Anaconda3-2018.12-MacOSX-x86_64.sh
bash ./Anaconda3-2018.12-MacOSX-x86_64.sh
julia -e 'using Pkg; Pkg.add("IJulia")'
git clone https://github.com/jameszhan/notes-julia.git
cd notes-julia
jupyter notebook .
部分内容来自网络。
可以在 Notebook 中打开 generate-static-files.ipynb
来生成静态的 HTML 文件。
使用命令行工具生成。
gem install thor
chmod +x generate
# 默认生成 markdown 文件到 static-files 目录
./generate static
# 生成 pdf 文件到 static-files 目录
./generate static --to pdf
# 生成 html 文件到 generated 目录
./generate static --to html --output=generated