mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-31 00:34:05 -06:00
Change note
This commit is contained in:
parent
ff99c749e3
commit
d18add15cc
@ -4,13 +4,19 @@ tags:
|
|||||||
- basic
|
- basic
|
||||||
- coding-language
|
- coding-language
|
||||||
- MOC
|
- MOC
|
||||||
date: 2024-03-07
|
date: 2024-03-13
|
||||||
---
|
---
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
|
|
||||||
* [Why python doesn't need pointer?](computer_sci/coding_knowledge/python/python_doesnt_need_pointer.md)
|
* [Why python doesn't need pointer?](computer_sci/coding_knowledge/python/python_doesnt_need_pointer.md)
|
||||||
* [Underline in python](computer_sci/coding_knowledge/python/underline_in_python.md)
|
* [Underline in python](computer_sci/coding_knowledge/python/underline_in_python.md)
|
||||||
|
* [Python Decorator](computer_sci/coding_knowledge/python/python_decorator.md)
|
||||||
|
* [Assert in Python](computer_sci/coding_knowledge/python/assert_in_python.md)
|
||||||
|
|
||||||
|
# HTML
|
||||||
|
|
||||||
|
* [HTML Double Curly Braces](computer_sci/coding_knowledge/web/html_double_curly_braces.md)
|
||||||
|
|
||||||
# C
|
# C
|
||||||
|
|
||||||
|
|||||||
@ -10,14 +10,14 @@ date: 2024-03-13
|
|||||||
|
|
||||||
**模板引擎和数据绑定**:
|
**模板引擎和数据绑定**:
|
||||||
|
|
||||||
- 双花括号通常用于模板引擎,例如 **Angular**、**Vue.js** 或 **Handlebars**。
|
- 双花括号通常用于模板引擎,例如 **Angular**、**Vue.js** 或 **Handlebars**。
|
||||||
- 在这些框架中,您可以在 HTML 中使用双花括号来插入动态数据。例如:
|
- 在这些框架中,您可以在 HTML 中使用双花括号来插入动态数据。例如:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<p>欢迎来到 {{ websiteName }}!</p>
|
<p>欢迎来到 {{ websiteName }}!</p>
|
||||||
```
|
```
|
||||||
|
|
||||||
这里的 `websiteName` 是一个变量,它会被实际的值替代。
|
这里的 `websiteName` 是一个变量,它会被实际的值替代。
|
||||||
|
|
||||||
> [!abstract]
|
> [!abstract]
|
||||||
> 总之,双花括号是一种强大的工具,用于将动态数据嵌入到 HTML 中,使网页更具交互性和实用性。
|
> 总之,双花括号是一种强大的工具,用于将动态数据嵌入到 HTML 中,使网页更具交互性和实用性。
|
||||||
Loading…
Reference in New Issue
Block a user