Comments (3)
看來是 Ansible 的 Jinja2 語法被 GitBook 所用的 Jinja2 給解析走了,目前還沒找到比較好的解法。
這裏說明了 GitBook 可以使用的模板功能,GitBook 使用的是 Nunjucks 與 Jinga2 的語法(Jinga2 是 Python 程式語言的一種模板引擎,Nunjucks 則是將其功能實現在 JavaScript 語言環境)。
https://wastemobile.gitbooks.io/gitbook-chinese/content/format/templating.html
from automate-with-ansible.
已提醒 W3Cschool.cn 其 Jinja2 造成的 bug,且貴單位也已經修復該問題。
https://www.w3cschool.cn/automate_with_ansible/automate_with_ansible-gm1w27pd.html
from automate-with-ansible.
GitBook 吃掉變數的問題已解決,感謝 @billy3321 提供的解法!
from automate-with-ansible.
Related Issues (20)
- Review the Ch18 HOT 1
- Review the Ch19 HOT 1
- Review the Ch20
- Review the Ch21
- Review the Ch22
- Review the Ch23 HOT 2
- Review the Ch24
- Review the Ch25
- Review the Ch26
- Review the Ch27
- Review the Ch28
- Review the Ch29
- Review the Ch30 HOT 2
- Review the Ch31
- Review the Ch02
- Go to the iThome Awards ceremony HOT 3
- Integrate the Slack HOT 1
- Add badges
- Change the hostfile to inventory HOT 2
- 第19节中的错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automate-with-ansible.