pskordilakis / vuepress-plugin-tabs

Vuepress plugin - markdown custom container to display content in tabs
MIT License
59 stars 2 forks source link

Global options to vue-tabs-components #10

Open ad-m opened 5 years ago

ad-m commented 5 years ago

Hello,

Is there a way to pass globally options to vue-tabs-components?

I would like pass to every tabs by default ``useUrlFragment: false ```. I would like avoid floating my markdown files with settings of that. I think about something like that in configuration:

    plugins: [
        [ 'tabs', { 
            useUrlFragment: false 
        }],
    ],

As I understand correclty only one supported options is for dedupeIds ( https://github.com/pskordilakis/vuepress-plugin-tabs/blob/49e2c00afac1d1f6588bc8f992d7984d3c47f06d/src/util.js#L37 ).

Are works carried out in this area? If so, what is ETA? If not, will an external contribution be accepted?

dvnkshl commented 4 years ago

+1

pskordilakis commented 4 years ago

Merged #12 and published a new version. You should be able to pass global attributes in tabs component.