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

Added support for DNS zone files #1961

Merged
merged 3 commits into from
Jul 15, 2019
Merged

Conversation

RunDevelopment
Copy link
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
Copy link

BnitoBzh commented Jul 3, 2019

@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