* [doc] update text&dom md file format

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/855f69bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/855f69bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/855f69bb

Branch: refs/heads/dev
Commit: 855f69bbbb1f97625ed11a716a7d2263eb7e623e
Parents: 5c06e17
Author: tancy <ron...@gmail.com>
Authored: Wed May 17 14:47:02 2017 +0800
Committer: tancy <ron...@gmail.com>
Committed: Wed May 17 14:47:02 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/components/text.md | 10 ++++++----
 doc/source/cn/references/modules/dom.md     |  6 +++---
 doc/source/references/components/text.md    |  9 +++++----
 doc/source/references/modules/dom.md        |  6 +++---
 4 files changed, 17 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/855f69bb/doc/source/cn/references/components/text.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/text.md 
b/doc/source/cn/references/components/text.md
index 2c13562..bb6ef71 100644
--- a/doc/source/cn/references/components/text.md
+++ b/doc/source/cn/references/components/text.md
@@ -100,11 +100,13 @@ version: 2.1
 
 [try it](http://dotwe.org/vue/154e20171d350a081fba7878c53cf7d2)
 
-## iconfont
-<sup class="wx-v">0.12.0</sup>
-1. 支持ttf和woff字体格式的自定义字体, 可以通过调用`dom` 
module 里面的 [addRule](../modules/dom.html#addRule)方法, 
构建自定义的`font-family`使用
+## iconfont 
 
-```
+`支持版本:v0.12.0`
+
+支持ttf和woff字体格式的自定义字体, 可以通过调用`dom` module 
里面的 [addRule](../modules/dom.html#addRule)方法, 
构建自定义的`font-family`使用
+
+```html
 <template>
     <div style='flex-direction:row;margin-top:50px'>
         <text 
style='font-family:iconfont4;font-size:50;color:green'>&#xe614;&#xe612;&#xe613;</text>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/855f69bb/doc/source/cn/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/modules/dom.md 
b/doc/source/cn/references/modules/dom.md
index ba05751..6028de0 100644
--- a/doc/source/cn/references/modules/dom.md
+++ b/doc/source/cn/references/modules/dom.md
@@ -257,14 +257,14 @@ version: 2.1
 [try it](http://dotwe.org/vue/d069a9bf0f0781b914f12a9a7b9a1447)
 
 
-###addRule
+### addRule
 <sup class="wx-v">0.12.0</sup>
 
 addRule是可以为dom 添加
一条规则,目前支持自定义字体fontFace规则,构建自定义的font-family,可以在[text](../components/text.html#iconfont)
 
-####fontFace
+#### fontFace
 
-```
+```html
 var domModule = weex.requireModule('dom');
 domModule.addRule('fontFace', {
     'fontFamily': "iconfont2",

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/855f69bb/doc/source/references/components/text.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/text.md 
b/doc/source/references/components/text.md
index d6fa753..8b0556c 100644
--- a/doc/source/references/components/text.md
+++ b/doc/source/references/components/text.md
@@ -97,13 +97,14 @@ check out [common events](../common-event.html)
 
 [try it](http://dotwe.org/vue/154e20171d350a081fba7878c53cf7d2)
 
-##iconfont
-<sup class="wx-v">0.12.0</sup>
+## iconfont
 
-1. support `ttf` and `woff` font format to custom your text, call 
[addRule](../modules/dom.html#addRule) in dom module to build your own 
`font-family`
+`support:v0.12.0`
 
+support `ttf` and `woff` font format to custom your text, call 
[addRule](../modules/dom.html#addRule) in dom module to build your own 
`font-family`
 
-```
+
+```html
 <template>
     <div style='flex-direction:row;margin-top:50px'>
         <text 
style='font-family:iconfont4;font-size:50;color:green'>&#xe614;&#xe612;&#xe613;</text>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/855f69bb/doc/source/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/doc/source/references/modules/dom.md 
b/doc/source/references/modules/dom.md
index 23dd7cd..2ce50fa 100644
--- a/doc/source/references/modules/dom.md
+++ b/doc/source/references/modules/dom.md
@@ -256,14 +256,14 @@ Example Useage:
 [try it](http://dotwe.org/vue/87d4ed571de129ab28052b06a5d65fc8)
 
 
-###addRule
+### addRule
 <sup class="wx-v">0.12.0</sup>
 
 you can add your rule for dom by this, now we support `fontFace` only for 
building your custom `font-family`, use it on 
[text](../components/text.html#iconfont) directly.
 
-####fontFace
+#### fontFace
 
-```
+```html
 var domModule = weex.requireModule('dom');
 domModule.addRule('fontFace', {
     'fontFamily': "iconfont2",

Reply via email to