# vuepress-plugin-separate-pages

> Shows content of current header by hashtag from location

Latest version **0.1.4** (published 2020-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install vuepress-plugin-separate-pages
pnpm add vuepress-plugin-separate-pages
yarn add vuepress-plugin-separate-pages
bun add vuepress-plugin-separate-pages
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-10-05 |
| First published | 2020-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Azamat Sarsenbayev |
| Maintainers | azasar |
| Keywords | vuepress, plugin, separate pages |

## Links

- npm: https://www.npmjs.com/package/vuepress-plugin-separate-pages
- Repository: https://github.com/azasar/vuepress-plugin-separate-pages
- Homepage: https://github.com/azasar/vuepress-plugin-separate-pages#readme
- Issues: https://github.com/azasar/vuepress-plugin-separate-pages/issues
- npm.io page: https://npm.io/package/vuepress-plugin-separate-pages

## Dependencies (1)

- [jquery](https://npm.io/package/jquery.md) ^3.5.1

## Recent versions

- 0.1.4 (latest) — 2020-10-05
- 0.1.3 — 2020-06-02
- 0.1.2 — 2020-06-01
- 0.1.1 — 2020-05-29
- 0.1.0 — 2020-05-29

## README

# VuePress Plugin Separate pages

> Separate pages plugin for [VuePress](https://vuepress.vuejs.org/) 1.x

## What

This is a VuePress plugin which shows content of current header by hashtag from location


## Rules
There is exactly one basic rule to follow:  
* Header tags like h1, h2, h3, h4 (#, ##, ###, ####) should not be inside html elements, for example `<div class="notranslate"><h2>Some header</h2></div>` will not work

## Install
```sh
$ npm install vuepress-plugin-separate-pages

# or

$ yarn add vuepress-plugin-separate-pages
```

## Usage
Add `separate-pages` in your site config file.
> See [official docs on using a plugin](https://vuepress.vuejs.org/plugin/using-a-plugin.html)

```js
// .vuepress/config.js

module.exports = {
  plugins: [
    [ 'separate-pages' ]
  ]
}
```

## Options
> See Plugin Option API [official docs](https://vuepress.vuejs.org/plugin/option-api.html)

`alwaysVisibleBlocks` - list of blocks described by css rules. These blocks will always be visible. 

```js
// .vuepress/config.js

module.exports = {
  plugins: [
    [ 'separate-pages', { alwaysVisibleBlocks: ['#disqus_thread'] } ]
  ]
}
```

## Reference
- VuePress official [plugin docs](https://vuepress.vuejs.org/plugin/)

## License
MIT ©

---
_Source: https://npm.io/package/vuepress-plugin-separate-pages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
