Skip to content

Escape Hugo shortcodes in code blocks #94

@kaushalmodi

Description

@kaushalmodi

See:

Hugo will automatically render this in Markdown:

```md
{{</* figure src="/images/org-mode-unicorn-logo.png" title="Org Mode + Hugo Rock!" */>}}
```

As this in HTML:

{{< figure src="/images/org-mode-unicorn-logo.png" title="Org Mode + Hugo Rock!" >}}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions