Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/welksonramos/hexo-tag-trello

Display Trello cards in your Hexo blog
https://github.com/welksonramos/hexo-tag-trello

hexo hexo-tag-trello tags trello

Last synced: 12 days ago
JSON representation

Display Trello cards in your Hexo blog

Awesome Lists containing this project

README

        

# hexo-tag-trello
[![Linter](https://github.com/welksonramos/hexo-tag-trello/actions/workflows/linter.yml/badge.svg)](https://github.com/welksonramos/hexo-tag-trello/actions/workflows/linter.yml) [![npm version](https://img.shields.io/npm/v/hexo-tag-trello.svg)](https://www.npmjs.com/package/hexo-tag-trello) [![license](https://img.shields.io/npm/l/hexo-tag-xvideos.svg?style=flat)](https://raw.github.com/welksonramos/hexo-tag-trello/blob/master/LICENSE)

Display Trello cards in your [Hexo](https://hexo.io) blog



## Install
In your blog folder, add this npm dependency to your project

```
$ npm i hexo-tag-trello --save
```

## Usage

```
{% trello url | compact %}
```

## Options

| name | Description | Required | Type | Default |
------ | ---------- | -------- | ------- | ------- |
| `url` | The URL from trello card | Yes | `string` | Undefined
| `compact` | The mode for embedded Trello card | No | `boolean` | `false`

# Example

There are two modes for embedded Trello cards. The default, `interactive mode`, which depending on the viewing members permissions will allow folks to vote on, watch / unwatch, join / leave, and even comment on the card:

Default (interactive mode):
```
{% trelo https://trello.com/b/wl0iv8lY %}
```
As well as the non-interactive, `compact` mode:

```
{% trelo https://trello.com/b/wl0iv8lY true %}
```

## Configuration
You can configure default settings for displaying your Trello cards in ```_config.yml```

```yml
trello:
compact: true

```
## License
© Licensed under the MIT License.