Skip to content

Commit 71f141e

Browse files
committed
switching component index.md to markdown instead of HTML
1 parent caebae1 commit 71f141e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_component/accordion/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Accordions are used widely throughout our sites. Often, they are used as a ACF F
1010

1111
<iframe {% if page.iframe_height %}class="h-{{ page.iframe_height }}"{% endif %} src="{{ site.baseurl }}/component/{{ page.path_slug }}/example.html"></iframe>
1212

13-
<h2>Advanced Custom Fields</h2>
13+
## Advanced Custom Fields
1414
If working with ACF, you will want to utilize the following fields:
1515

1616
**Repeater Field: accordion**
@@ -20,28 +20,28 @@ Fields:
2020
* Text: accordion_label
2121
* WYSIWYG: accordion_content
2222

23-
<h2>Markup</h2>
23+
## Markup
2424

2525
{% include partials/tabs.md %}
2626

27-
<h2>Styles</h2>
27+
## Styles
2828

29-
<h3 id="css">CSS</h3>
29+
### CSS
3030
```css
3131
{% include_relative css/component.css %}
3232
```
3333

34-
<h3 id="sass">Sass</h3>
34+
### Sass
3535
```scss
3636
{% include_relative css/component.scss %}
3737
```
3838

39-
<h2>Javascript</h2>
40-
<h3>Plugin</h3>
39+
## Javascript
40+
### Plugin
4141
```js
4242
{% include_relative js/component.js %}
4343
```
44-
<h3>Usage</h3>
44+
### Usage
4545
```js
4646
{% include_relative js/component-usage.js %}
4747
```

0 commit comments

Comments
 (0)