From 7fe307e7c91876f5eba027b0c5996543e6c3694d Mon Sep 17 00:00:00 2001 From: Xavier Yao Date: Wed, 16 Nov 2016 15:05:13 +0800 Subject: [PATCH] Update README.md --- README.md | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index cfcdb1d..bd72a4c 100644 --- a/README.md +++ b/README.md @@ -39,39 +39,8 @@ wget https://mirrors.tuna.tsinghua.edu.cn/static/isoinfo.json -O static/isoinfo. ### 特殊用法 #### 表单选择 -例如 中,通过表单选择操作系统和版本号,生成对应配置文件的代码为: - -```html -
-
- - -
-
- -

-
-
-
-
- -{% raw %} - -{% endraw %} -``` - -`
`包含的内容即为表单, `select`标签的`data-template`和`data-target`属性分别指定配置文件模板和 placeholder 的 id, -`option`标签为选项,`data-os` 和 `data-release` 分别指定操作系统名称和版本号。 - -`code#apt-content`部分是占位符,`{% raw %}{% endraw %}`包含的部分是配置文件模板,通过 `{% raw %}` 标记防止被 jekyll 转义。 -模板使用 [Markup.js](https://github.com/adammark/Markup.js/) 语法,可使用 `{{os_name}}` 和 `{{release_name}}` 两个变量, -对应于`option`中的操作系统和版本号设定。 +例如 中,通过表单选择操作系统和版本号,建议直接使用 Vue.js +