Sha256: 1cc074b022aee89de88bb813268c1fadbf43279754f76aa3485ab4febbdc9343

Contents?: true

Size: 560 Bytes

Versions: 9

Compression:

Stored size: 560 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

markup_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

9 entries across 9 versions & 1 rubygems

Version Path
jekyll_picture_tag-2.0.4 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.0.3 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.0.2 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.0.1 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.0.0 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-2.0.0pre1 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-1.14.0 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-1.13.0 docs/users/presets/markup_formats/readme.md
jekyll_picture_tag-1.12.0 docs/users/presets/markup_formats/readme.md