grpc / grpc/grpc.io

Ensure that shortcode calls use % delimiters if they contain markdown

Open
#623 0 comments 0 reactions 0 assignees View on GitHub
cleanup/refactoring e0-minutes e1-hours p1-high p2-medium
Dominant language
HTML
Stars
479
Forks
545
Avg merge
2d 7h
Merged PRs (30d)
5

Description

If the content of a [shortcode][] call is markdown, and you need things like **render-link hooks** to trigger, then use `%` as the shortcode delimiter (excerpt from the Hugo docs):

```nocode
{{% mdshortcode %}}Stuff to `process` in the *center*.{{% /mdshortcode %}}
```

Otherwise, you can use `< >`, like this: `{{< myshortcode >}} ... {{< /myshortcode >}}`

- [ ] Alert shortcodes: treat all bodies as markdown #640

[shortcode]: https://gohugo.io/content-management/shortcodes/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.