Skip to content
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

Support syntax highlighted code within backticks #1244

Closed
bramp opened this issue Jul 2, 2015 · 2 comments
Closed

Support syntax highlighted code within backticks #1244

bramp opened this issue Jul 2, 2015 · 2 comments
Labels

Comments

@bramp
Copy link
Contributor

bramp commented Jul 2, 2015

Github markdown allows you to write code within backticks, ie:

```html
<h1>Hello</h1>
```

It would be nice if Hugo supported this as well, instead of having to write:

{{< highlight html >}}
<h1>Hello</h1>
{{< / highlight >}}

This would make my markdown more portable.

@bep
Copy link
Member

bep commented Jul 3, 2015

Duplicates #362

@bep bep closed this as completed Jul 3, 2015
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants