https://github.com/sujaykumarh/docsify-plugin-title
:electric_plug: Docsify plugin customize page title
https://github.com/sujaykumarh/docsify-plugin-title
docsify docsify-plugin docsify-plugin-title plugin sujaykumarh sujaykumarh-plugin
Last synced: about 1 month ago
JSON representation
:electric_plug: Docsify plugin customize page title
- Host: GitHub
- URL: https://github.com/sujaykumarh/docsify-plugin-title
- Owner: sujaykumarh
- License: apache-2.0
- Created: 2021-06-20T14:55:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-11T11:54:28.000Z (over 2 years ago)
- Last Synced: 2025-09-30T22:33:37.684Z (6 months ago)
- Topics: docsify, docsify-plugin, docsify-plugin-title, plugin, sujaykumarh, sujaykumarh-plugin
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docsify Plugin Title
> [!NOTE]
> v1.2.0 fixed typo [#40](https://github.com/sujaykumarh/docsify-plugin-title/issues/40) `seprator` in v1.x to `separator` as a breaking change was released earlier under v1.2.0 on 06-09-2023 and has since been unpublished as on 11-09-2023.
> Please upgrade to v2.x for typo fix
A simple plugin to customize [docsify](https://github.com/docsifyjs/docsify/) page title
[](https://www.npmjs.com/package/@sujaykumarh/docsify-plugin-title)
[](https://www.jsdelivr.com/package/npm/@sujaykumarh/docsify-plugin-title)
# 📥 Download
- Locally
```bash
npm install @sujaykumarh/docsify-plugin-title
```
- CDN
```html
```
# 🧰 Configuration
Available options
```js
window.$docsify.customPageTitle = {
prefix: false, // [optional] title prefix. default: false eg: prefix: "Application"
suffix: false, // [optional] title suffix. default: false eg: suffix: "v1.0.0"
separator: '|', // [optional] separator for title eg: title-> prefix | title | suffix
debug: false, // [optional] should debug
}
```
Example:
```html
...
window.$docsify.customPageTitle = {
prefix: 'Docsify', // title prefix.
suffix: 'v1.0.0', // title suffix.
}
...
```
# 🛠️ Development
Clone
```bash
git clone https://github.com/sujaykumarh/docsify-plugin-title.git
```
install resources
```bash
npm install
```
minify `src/plugin.js` to generate minified files in `dist` folder
```bash
npm run minify # generate minified .min.js in dist
```
# 📄 License
Copyright (c) 2021 [Sujay H](https://github.com/sujaykumarh) Licensed under `Apache License v2.0` read [LICENSE](./LICENSE)