GitBook代码段添加文件名
为代码添加一个文件名,以便显示当前代码段属于的文件
npm install gitbook-plugin-codeblock-filename -g
cd cloud-atlas
gitbook install
!FILENAME hello_world.py
print('Hello world')
不过这个插件展示的文件名和代码段分离显示,有点不太舒服
Last updated
Was this helpful?
为代码添加一个文件名,以便显示当前代码段属于的文件
npm install gitbook-plugin-codeblock-filename -g
cd cloud-atlas
gitbook install
!FILENAME hello_world.py
print('Hello world')
不过这个插件展示的文件名和代码段分离显示,有点不太舒服
Last updated
Was this helpful?