Skip to content

Some of the ApacheConf code highlight aliases don't work #9931

@Rarst

Description

@Rarst

The documentation lists following aliases for ApacheConf code highlight:

ApacheConf
aconf, apache, apacheconf, conf, htaccess

I've noticed that out of those conf and htaccess don't work, ending up in fallback language:

# Works
```aconf
ExpiresActive On
```
```apache
ExpiresActive On
```
```apacheconf
ExpiresActive On
```

# Doesn't work
```conf
ExpiresActive On
```
```htaccess
ExpiresActive On
```

Not sure if this could be documentation and/or upstream issue, Chroma Playground doesn't expose aliases to try, only language selection by name.

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.99.1-d524067382e60ce2a2248c3133a1b3af206b6ef1+extended windows/amd64 BuildDate=2022-05-18T11:18:14Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions