sixty4k / st2-zonefile Goto Github PK
View Code? Open in Web Editor NEWSublime Text - Bind Zone File syntax highlighting
License: MIT License
Sublime Text - Bind Zone File syntax highlighting
License: MIT License
I'd love to see st2-zonefile used for GitHub syntax highlighting! We just need a license txt, md, or such file to indicate what kind of license this code can be used under.
Relatively easy to convert, need to look at how best to support both st2 and st3, or figure out if it necessary to continue supporting ST2.
I don't imagine there's any difference as this is a pretty simple highlighter, but probably makes sense to validate that.
The description of this repo says it only work with Sublime Text 2, but the package info indicates it works with ST3 also.
Given the following record:
_dmarc TXT "v=DMARC1; p=none; rua=mailto:postmaster@your_domain.com"
st2-zonefile
will start marking up the rest of the value after the ;
as a comment, even though it's valid to have ;
in something like a TXT
record value. It will also still mark the rest as a comment even if you try to esacpe \;
it.
I'm not very familiar with building complex syntax highlighters for sublime, so I haven't been able to resolve this myself.
As shown below here are some examples:
Please publish a .sublime-package, and include installation steps in the README.
We have to manually set the syntax to Bind Zone File every time we open a zone file.
Is it possible to make this auto detect?
Perhaps it could be done with https://github.com/facelessuser/ApplySyntax ?
Sublime Text 2 is not loading this syntax one zone files, or offering it from the command palette. I think it has to do with extensions of the language files, or their layout (I'm doing some internal testing myself).
After installing in Sublime Text 3, it is not possible to select "Bind Zone File" or anything similar as the template for syntax highlighting. It is just not listed in the syntax list.
Would be nice if this had zone file header templates, shortcuts for A, Cname, txt etc record types.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.