# Tabs plugin

## About

This is a custom plugin for authoring the tabs in a markdown file. This plugin transforms the authored tabs into html components.

Example:
::::::tabset{tabs='["Tab1", "Tab2"]'}

:::::tab
Test tab1
:::::

:::::tab
Test tab2
:::::

::::::

Transformed html using this tab plugin is as follows:

```
    <dx-tab-panel-list tabs="[{"label":"Tab1"},{"label":"Tab2"}]">
        <dx-tab-panel>
            <p>Test tab1</p>
        </dx-tab-panel>
        <dx-tab-panel>
            <p>Test tab2</p>
        </dx-tab-panel>
    </dx-tab-panel-list>
```

## Install & build

```
yarn install && yarn build
```

## Pubilsh
To test the plugin code, publish alpha package using following command:

```
yarn publish --new-version 1.0.0-alpha --tag alpha --access=public
```

Use following command to publish actual package:

```
yarn publish
```

>> Please make sure to push your changes (version number & other changes) to git once publishing is complete.