Skip to content

Docs not correctly rendering markdown with curly braces #12741

@sparrowt

Description

@sparrowt

File: engine/reference/builder.md

Under the LABEL section here https://docs.docker.com/engine/reference/builder/#label the command is incorrectly shown as:

docker image inspect --format='' myimage

screenshot:
image
when according to the Markdown source it should read:

docker image inspect --format='{{json .Config.Labels}}' myimage

It seems there is a bug in the docs website which renders markdown incorrectly when it includes literal {{ even inside triple-quoted code blocks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions