Skip to content

liaralabs/vuepress-plugin-tabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version License

Vuepress plugin - markdown custom container to display content in tabs from Element UI

Docs

https://superbiger.github.io/vuepress-plugin-tabs

Install

This plugin requires VuePress >= 1.0.0, for now you can try it via yarn add vuepress@next -D

yarn add vuepress-plugin-element-tabs -D
// .vuepress/config.js
module.exports = {
  plugins: [
    'vuepress-plugin-element-tabs'
  ]
}

Usage

:::: tabs

::: tab title
__markdown content__
:::


::: tab javascript
``` javascript
() => {
  console.log('Javascript code example')
}
```
:::

::::

Documents

Accepted Value Like That

:::: tabs type:board-card
::: tab title lazy
__markdown content__
:::
::::

Tabs Attributes

Attribute Description Type Accepted Values Default
type type of Tab String card/border-card border-card
tab-position position of tabs String top/right/bottom/left top
stretch whether width of tab automatically fits its container Boolean - false

Tab Attributes

Attribute Description Type Accepted Values Default
label title of the tab String - -
lazy whether Tab is lazily rendered Boolean - false

About

Vuepress plugin - Tabs Container for Vuepress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 69.9%
  • Vue 22.0%
  • JavaScript 8.1%