Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
vuepress-plugin-thirdparty-search
Advanced tools
Enhanced search plugin for VuePress,可以添加第三方搜索链接的 Vuepress 搜索插件
此插件是基于官方的搜索框插件 @vuepress/plugin-search 做了功能添加,添加的功能如下:
安装
npm i vuepress-plugin-thirdparty-search -D
在.vuepress/config.js
的plugins
选项添加插件,并配置第三方搜索链接:
// .vuepress/config.js
module.exports = {
plugins: [
['thirdparty-search', {
thirdparty: [ // 可选,默认 []
{
title: '在MDN中搜索', // 在搜索结果显示的文字
frontUrl: 'https://developer.mozilla.org/zh-CN/search?q=', // 搜索链接的前面部分
behindUrl: '' // 搜索链接的后面部分,可选,默认 ''
},
{
title: '在Runoob中搜索',
frontUrl: 'https://www.runoob.com/?s=',
},
{
title: '在Vue API中搜索',
frontUrl: 'https://cn.vuejs.org/v2/api/#',
}
]
}],
]
}
此插件会覆盖原本官方的 plugin-search
插件,但原插件的参数选项仍适用。更多配置请查看:plugin-search
此插件在官方默认主题也适用。
FAQs
Enhanced search plugin for VuePress,可以添加第三方搜索链接的 Vuepress 搜索插件
The npm package vuepress-plugin-thirdparty-search receives a total of 815 weekly downloads. As such, vuepress-plugin-thirdparty-search popularity was classified as not popular.
We found that vuepress-plugin-thirdparty-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.