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

Add support for the Github markdown API #205

Merged
merged 2 commits into from
Feb 19, 2018
Merged

Commits on Feb 16, 2018

  1. Configuration menu
    Copy the full SHA
    e16b44c View commit details
    Browse the repository at this point in the history
  2. Shortcut to markdown object from repos

    The markdown method in Pithub::Repos creates a Pithub::Markdown
    which, in addition to inheriting the parent's user and repo attributes,
    sets its default context to the current repo, and the default mode
    to Github Flavoured Markdown.
    
    This makes it possible to do
    
        $repo->markdown->render(
            data => {
                text => 'The answer is in plu#42'
            },
        );
    
    and have it behave as expected.
    jjatria committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    e531c76 View commit details
    Browse the repository at this point in the history