You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

hexo-excerpt-block

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-excerpt-block

A plugin for hexo, enable mark excerpt block in post easily.


Version published
Weekly downloads
1K
decreased by-0.39%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

hexo-excerpt-block

Travis (.org) npm version Coveralls github

A plugin for hexo, enable mark excerpt block in post easily. However, the excerpt will remain.

Inspired by fuchen/hexo-less.

Install

npm install --save hexo-excerpt-block

Usage

Add one or two <!-- block --> to your post file. It will be used as an excerpt before or between the block tag.

Example

Method 1 - between two block tags

---
title: Example post
---

## This is an example post.

<!-- block -->
Here is excerpt block.
It's easy to use.
<!-- block -->

Some contents.

Excerpt:

Here is excerpt block.
It's easy to use.

Method 2 - before one block tag

---
title: Example post
---

This is an example post.

Before block tag will be used as an excerpt.
<!-- block -->

Some contents.

Excerpt:

This is an example post.

Before block tag will be used as an excerpt.

Q&A

Q: Is this package compatible with fuchen/hexo-less?
A: Yes. But only one method in a post.

License

MIT

Keywords

FAQs

Package last updated on 28 Mar 2019

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc