You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -187,15 +193,16 @@ either a <code><button></code> or an <code><a></code> element:</p>
187
193
The contents of a section may also be imported from another file.
188
194
189
195
**buttons.md**:
190
-
```md
191
-
Button styles can be applied to **any** element. Typically you'll want to use
192
-
either a `<button>` or an `<a>` element:
193
196
194
-
```html
195
-
<buttonclass="btn">Click</button>
196
-
<aclass="btn"href="/some-page">Some Page</a>
197
-
```
198
-
```
197
+
Button styles can be applied to **any** element. Typically you'll want to use
198
+
either a `<button>` or an `<a>` element:
199
+
200
+
```html
201
+
<button class="btn">Click</button>
202
+
<a class="btn" href="/some-page">Some Page</a>
203
+
```
204
+
205
+
**base.css**:
199
206
200
207
```css
201
208
/*---
@@ -204,6 +211,8 @@ import: buttons.md
204
211
---*/
205
212
```
206
213
214
+
The contents of a section may be automatically imported as well. For example, had the `import` been omitted, a sibling file of `base.buttons.md` or `base.md` would have been used (in that order of preference) if they existed.
215
+
207
216
### Details
208
217
209
218
Additional heading details are added before a second set of three dashes `---` in a section. These heading details are parsed and added to the [`documentation` object](#documentation-object).
0 commit comments