Contributing a Language Package

Hi there,

I have been developing a language support package for BibTeX. So far, it has language support for both BibTeX and BibLaTeX, snippets for both dialects (including field recommendations+requirements), context-aware autocompletion, highlighting of invalid syntax, and more. All features can be enabled or disabled via configuration parameters (which can be toggled at runtime if desired).

I was wondering if there was interest in upstreaming my language support package into the Codemirror organization. I looked on GitHub, but apart from opening a pull request on the codemirror/dev repo, I’m not sure how to contribute an entirely new package.

I have done my best to implement all the features and extensions in the most ‘CodeMirror’ way I could, but any suggestions/improvements would be greatly appreciated.

You can find my package here: github:vaisriv/codemirror-lang-bibtex.

I’m looking forward to hearing people’s thoughts!

I don’t take contributed packages, due to the way the maintenance burden for such things tends to end up falling on me, eventually. The recommended way to publish such a package is to publish it yourself, as your own npm package, and submit a PR towards the community package page to make it easy for people to find.

No worries, that makes a lot of sense. I have made a pull request to add my package to the Community List: PR #74.