New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-tag-search-link

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-tag-search-link

A hexo tag plugin, which enables you to insert links to search specific content.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm version

A hexo tag plugin for creating search links with specified search engine and content.

Installation

$ npm install hexo-tag-search-link --save

Usage

To search the content, we can use search tag, which uses the default search engine, and search_with tag, which uses the specified search engine. Here are some examples:

With default search engine:

{% search "Hello World" %}

With specified search engine:

{% search_with google "Hello World" %}
{% search_with bing "Hello World" %}
{% search_with baidu "Hello World" %}
{% search_with yahoo "Hello World" %}
{% search_with wiki "Hello World" %}
{% search_with wiki "你好,世界" zh %}
{% search_with msdn "Hello World" %}
{% search_with github "Hello World" %}
{% search_with github_code generateSearchLink r12f/hexo-tag-search-link %}

We can also specify what to show with search_alt and search_alt_with tags. The tag works almost exactly the same. The only difference is that they have an end tag. Here are 2 examples:

With alternated things to show:

{% search_alt "Hello World (maybe not)" %}Hello World{% endsearch_alt %}

With specified search engine and alternated things to show:

{% search_alt_with google "Hello World (maybe not)" %}Hello World{% endsearch_alt_with %}

Config:

# Search link
search_link:
    default_engine: google

License

BSD v3

Keywords

FAQs

Package last updated on 05 Feb 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc