New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function to convert toTOML/toYAML/toJSON #4389

Closed
regisphilibert opened this Issue Feb 8, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@regisphilibert

regisphilibert commented Feb 8, 2018

This linked to an enhancement of the docs to be further discussed.

bep added a commit to bep/hugo that referenced this issue Feb 9, 2018

tpl/transform: Add template for TOML/JSON/YAML docs examples conversion
Usage:

```html
{{ "title = \"Hello World\"" | transform.Serlify "json" | safeHTML }}
```

Fixes gohugoio#4389

bep added a commit to bep/hugo that referenced this issue Feb 9, 2018

tpl/transform: Add template func for TOML/JSON/YAML docs examples con…
…version

Usage:

```html
{{ "title = \"Hello World\"" | transform.Serlify "json" | safeHTML }}
```

Fixes gohugoio#4389

bep added a commit to bep/hugo that referenced this issue Feb 10, 2018

tpl/transform: Add template func for TOML/JSON/YAML docs examples con…
…version

Usage:

```html
{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}
```

Fixes gohugoio#4389

bep added a commit to bep/hugo that referenced this issue Feb 10, 2018

tpl/transform: Add template func for TOML/JSON/YAML docs examples con…
…version

Usage:

```html
{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}
```

Fixes gohugoio#4389

@bep bep closed this in #4395 Feb 10, 2018

bep added a commit that referenced this issue Feb 10, 2018

tpl/transform: Add template func for TOML/JSON/YAML docs examples con…
…version

Usage:

```html
{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}
```

Fixes #4389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment