Skip to content

Commit 0dc5dff

Browse files
committed
Improve documentation readability
1 parent bcf5ff1 commit 0dc5dff

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

docs/App.vue

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,28 @@
6060
p
6161
code npm install better-vue-input-tag --save
6262

63+
h3
64+
a#demo.anchor(href='#demo', aria-hidden='true')
65+
span.octicon.octicon-link(aria-hidden='true')
66+
| Demo
67+
68+
.demo
69+
70+
better-input-tag(
71+
:on-change='newTag',
72+
:tags='tags',
73+
:placeholder='placeholder',
74+
:on-paste-separator='onPasteSeparator',
75+
:read-only='readOnly',
76+
:validate='validate'
77+
)
78+
6379
h3
64-
a#playground.anchor(href='#playground', aria-hidden='true')
80+
a#configuration.anchor(href='#configuration', aria-hidden='true')
6581
span.octicon.octicon-link(aria-hidden='true')
66-
| Playground
82+
| Configuration
6783

68-
.playground
84+
.configuration
6985

7086
.form-group
7187
p.label placeholder:
@@ -93,15 +109,13 @@
93109
p.label tags:
94110
code {{ tags }}
95111

96-
better-input-tag(
97-
:on-change='newTag',
98-
:tags='tags',
99-
:placeholder='placeholder',
100-
:on-paste-separator='onPasteSeparator',
101-
:read-only='readOnly',
102-
:validate='validate'
103-
)
112+
h3
113+
a#code.anchor(href='#code', aria-hidden='true')
114+
span.octicon.octicon-link(aria-hidden='true')
115+
| Code
104116

117+
.code
118+
105119
code {{ getPreviewHTML() }}
106120

107121
footer.site-footer

0 commit comments

Comments
 (0)