npm.io
1.0.3 • Published 9 years ago

hexo-tag-theta360

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0
Stars
3

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;
}