Skip to content

Added support for DNS zone files#1961

Merged
RunDevelopment merged 3 commits into
PrismJS:masterfrom
RunDevelopment:dns
Jul 15, 2019
Merged

Added support for DNS zone files#1961
RunDevelopment merged 3 commits into
PrismJS:masterfrom
RunDevelopment:dns

Conversation

@RunDevelopment

Copy link
Copy Markdown
Member

This adds support for DNS zone files.

The highlighting is quite simple as every type and class is highlighted as keyword. This is intentional as other token names (e.g. class-name, function, builtin, ...) are not highlighted by every theme resulting in large portions of unstyled text for some themes.

This resolves #1959.

Example

image

Code by @BnitoBzh.


@BnitoBzh Can I use your code as the language example? Your code will be visible on this page after this PR is merged.

@BnitoBzh

BnitoBzh commented Jul 3, 2019

Copy link
Copy Markdown

@RunDevelopment Yes you can ! And thank you for your reactivity !

@RunDevelopment
RunDevelopment merged commit bb84f98 into PrismJS:master Jul 15, 2019
@RunDevelopment
RunDevelopment deleted the dns branch July 15, 2019 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for DNS zone file syntax

2 participants