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

Separate metadata field for language/syntax #85

Closed
daniels opened this issue Nov 3, 2018 · 1 comment
Closed

Separate metadata field for language/syntax #85

daniels opened this issue Nov 3, 2018 · 1 comment

Comments

@daniels
Copy link

daniels commented Nov 3, 2018

One thing that would be nice for publishing snippets (see #84) is if there was a standard way of indicating which syntax is used, so as to mark the snippet up for syntax highlighting. It can already be achieved by tags, but that would require some sort of convention for which tag is representing syntax as opposed to e.g. the tool used or any other tag.

I don’t know if you can make sense of what I wrote, but for example for an awk one liner, I would want to mark it for “sh” syntax highlighting but maybe also tag it “awk”.

If this is out of scope for the project it is easily achieved with some sort of tag prefix/suffix, though any third party scripts relying on this would need to be customized to match each users convention. I guess that doesn’t matter if I’m the only one who would like to publish/share my snippets this way ...

@RamiAwar
Copy link
Collaborator

Going to close this in favor for #84, I think that will include this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants