Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created December 18, 2023 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/e60debbdee595f43ba95f8acf0651251 to your computer and use it in GitHub Desktop.
Save peterbe/e60debbdee595f43ba95f8acf0651251 to your computer and use it in GitHub Desktop.
import { renderUnified } from './src/content-render/unified/index.js'
const template =
// '<div class="ghd-tool jetbrains">\n' +
'GitHub Copilot Chat is currently in beta, and is subject to change.\n' +
'<br><br>\n' +
// '</div>\n' +
'All users with a GitHub Copilot Individual subscription can access the GitHub Copilot Chat beta in Visual Studio Code and Visual Studio.\n' +
'<br><br>\n' +
'Owners of organizations with a Copilot Business subscription can decide whether to grant access to the GitHub Copilot Chat beta for Visual Studio and VS Code.\n' +
'<br><br>\n' +
'If you have a Copilot Individual subscription, and you would like to use GitHub Copilot Chat in a JetBrains IDE, you can join the [waitlist](https://github.com/github-copilot/chat_jetbrains_waitlist_signup/join). You will be notified by email when you are granted access to the beta. Joining the waitlist does not guarantee access to the beta.\n' +
'<br><br>\n' +
'If you are an owner of an invoiced organization or enterprise with a Copilot Business subscription and would like to participate in the beta for GitHub Copilot Chat in a JetBrains IDE, you can contact your account manager or solutions engineer to request access. Customers on Free, Team or self-serve Enterprise plans who do not have an account manager are not eligible for the private beta at this time.'
async function main() {
const html = await renderUnified(template, {}, {})
console.log({ html })
}
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment