Sha256: 9d18071cc5a6af119568c87f525f47cabae767ca5916e0522ea5ab5ede0c773f

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

---
sort: 1
---

# Markup Formats

Define what format the generated text will take. Select one by setting
`markup:` in the relevant [preset]({{ site.baseurl }}/users/presets).

_Format:_ `markup: (setting)`

_Default_: `auto`


Example:

```yml
# /_data/picture.yml

presets:
  my_preset:
    markup: data_auto
```

## Valid options:

### Standard HTML:
- `auto` - default
- `picture`
- `img`

### Javascript Friendly:
- `data_auto`
- `data_picture`
- `data_img`

### Fragments:
- `direct_url`
- `naked_srcset`

## Reference:

{% include list.liquid %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll_picture_tag-2.1.2 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.1.1 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.1.0 docs/users/presets/markup_formats/readme.md