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

Allow for multiple highlighted areas in code blocks #122

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

trevorblades
Copy link
Contributor

@trevorblades trevorblades commented Jun 3, 2022

Now you can highlight multiple areas of code using // highlight-start and // highlight-end comments.

module.exports = {
  client: {
    // highlight-start
    service: {
      name: "github",
      url: "https://api.github.com/graphql",
      // highlight-end
      // optional headers
      // highlight-start
      headers: {
        authorization: "Bearer lkjfalkfjadkfjeopknavadf",
      },
      // highlight-end
      // optional disable SSL validation check
      skipSSLValidation: true,
    },
  },
};

Screen Shot 2022-06-03 at 12 56 47 PM

@netlify
Copy link

netlify bot commented Jun 3, 2022

Deploy Preview for apollo-monodocs ready!

Name Link
🔨 Latest commit ca1491f
🔍 Latest deploy log https://app.netlify.com/sites/apollo-monodocs/deploys/629a67527b8b640008156127
😎 Deploy Preview https://deploy-preview-122--apollo-monodocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@trevorblades trevorblades merged commit e8a1fd3 into main Jun 3, 2022
@trevorblades trevorblades deleted the tb/highlight-areas branch June 3, 2022 20:09
@github-actions github-actions bot mentioned this pull request Jun 3, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant