hexo-tag-theta360

1.0.3 • Public • Published

hexo-tag-theta360

Build Status npm version dependencies Status devDependencies Status Coverage Status

Embed 360 photos uploaded to theta360.com in your Hexo blog.

Installation

npm install --save hexo-tag-theta360

Usage

{% theta360 image-url %}

or

{% theta360 image-id %}

Example Usages

Embed using the full URL.

{% theta360 https://theta360.com/s/fHmW9N6LuKPPp6pqmnPt1vpho %}

Embed using the image ID.

{% theta360 fHmW9N6LuKPPp6pqmnPt1vpho %}

Styling

By default, the iframe has no styling at all. You will need to apply your own styles using CSS by targeting the hexo-tag-theta360 class.

An example style could be

.hexo-tag-theta360 {
    width: 100%;
    height: 400px;
}

Package Sidebar

Install

npm i hexo-tag-theta360

Weekly Downloads

6

Version

1.0.3

License

MIT

Last publish

Collaborators

  • rowellx68