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

Contributing #70

Open
prettydiff opened this issue Feb 7, 2019 · 0 comments
Open

Contributing #70

prettydiff opened this issue Feb 7, 2019 · 0 comments

Comments

@prettydiff
Copy link
Collaborator

  • Create a contributing.md file in the docs folder with a checklist of items for contributing new lexers
    • must pass build
    • lexer is self contained... no external references (except sparser object) or resources in the code
    • must pass code review (lots of code comments will expedite this)
    • code style is free for all
  • Create a checklist of things to test that aids in the creation of lexers
    • a lexer must have a [lexer name].md file with the necessary sections in the necessary order
    • a lexer uses the boilerplate as a starting point
/*global global*/
(function markdown_init() {
    "use strict";
    const sparser: sparser = global.sparser,
        markdown = function lexer_markdown(source:string): data {
            // your code here
        };
    sparser.lexers.markdown = markdown;
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant