зеркало из https://github.com/microsoft/pxt-badge.git
896f08bb2f
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> |
||
---|---|---|
.github/workflows | ||
.vscode | ||
assets | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
SECURITY.md | ||
badge.ts | ||
home.ts | ||
index.html | ||
notification.ts | ||
pxt.json | ||
pxtsnippets.json | ||
schedule.ts | ||
social.ts | ||
test.ts | ||
tsconfig.json |
README.md
MakeCode Badge
A framework to create electronic badges in MakeCode Arcade
Configuration
Use the blocks in the badge
namespace to configure your information in the badge.
badge.setName("Cortana")
badge.setCompany("MakeCode")
badge.setSocial("TWITTER/LINKEDIN/GITHUB")
badge.start()
Conference configuration
If you are planning to use this badge for a conference, we recommend that you create a new project and add this extension as a dependency. Once the badge is conference, you can share your extension with the conference goers.
You can configure the name of the conference or draw a logo image.
badge.setLogo("MAMAMA", 2)
Additional boot sequence can be registered. For example, this project https://github.com/microsoft/pxt-microsoft-boot-sequence generates the Microsoft boot sequence.
You can specify a full conference program (in JavaScript only) as well.
Supported targets
- for PXT/arcade (The metadata above is needed for package search.)
Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct.
Resources:
- Microsoft Open Source Code of Conduct
- Microsoft Code of Conduct FAQ
- Contact opencode@microsoft.com with questions or concerns