Sha256: 9aedb7eeba417f7d595f36991b02d033615fac38425ab25bd34912b8c3c1b878

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

---
sort: 8
---

# Arbitrary HTML Attributes

_Format:_

```yaml
attributes:
  (element): '(attributes)'
  (...)
```

_Example:_

```yaml
attributes:
  img: 'class="soopercool" data-awesomeness="11"'
  picture: 'class="even-cooler"'
```

HTML attributes you would like to add. The same arguments are available here as
in the liquid tag: HTML element names, `alt:`, `link:`, and `parent:`. Unescaped
double quotes cause problems with yml, so it's recommended to surround them with
single quotes.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll_picture_tag-1.14.0 docs/users/presets/html_attributes.md
jekyll_picture_tag-1.13.0 docs/users/presets/html_attributes.md
jekyll_picture_tag-1.12.0 docs/users/presets/html_attributes.md