Skip to content

Commit

Permalink
Revert unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwen101 committed Feb 3, 2024
1 parent 24fa82e commit a99d972
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/userGuide/usingComponents.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@
<div id="overview" class="lead">

**MarkBind provides a number of components** (e.g., expandable panels, tabbed displays, navigation bars, etc.) that you can use to enhance the appearance/behavior of your pages.

</div>

To use a component, just use the corresponding markup in your file. For example, to create a Panel, you just need to use the markup:

```html
<panel header="Click to expand" type="seamless"> Panel Content. </panel>
<panel header="Click to expand" type="seamless">
Panel Content.
</panel>
```

{% from "userGuide/fullSyntaxReference.md" import syntax_topics as topics %}

{% macro show_topic(filename) %}
<include src="./syntax/{{ filename }}.md" />

<hr>
{% endmacro %}

{% for k,v in topics %}
{% if 'component' in v[1] %}
{% if 'component' in v[1] %}
{{ show_topic(k) }}
{% endif %}
{% endif %}
{% endfor %}

<br>
Expand Down

0 comments on commit a99d972

Please sign in to comment.