Adaptive Cards are a new way for developers to exchange content in a common and consistent way. Get started today by putting Adaptive Cards into Microsoft Teams, Outlook Actionable Messages, Cortana Skills, or Windows Timeline -- or render cards inside your own apps by using our SDKs.
- Pull requests and issue creations will no longer be accepted and will be closed. Please send all issues with Adaptive Cards to Microoft Teams docs repo (msteams-docs)
- Source code will still be avilable to the public.
- Packages will still be posted to the public.
Adaptive Cards are designed to render anywhere that your users are. The following native platform renderers are under development right now.
PS: Latest Build Status is against main
branch.
Platform | Latest Release | Source | Docs | Latest Build Status |
---|---|---|---|---|
Android | Source | Docs | ||
iOS | Source | Docs |
We require the C++ code inside this project to follow the clang-format. If you change them, please make sure your changed files are formatted correctly.
Make sure clang-format version 12.0.0 and above version is used.
ClangFormat describes a set of tools that are built on top of LibFormat. It can support your workflow in a variety of ways including a standalone tool and editor integrations. For details, refer to https://clang.llvm.org/docs/ClangFormat.html
Two scripts are provided to help you format files.
-
Windows user only: use FormatSource.ps1. This script use clang-format.exe which is built into Visual Studio by default.
Execute below command in the root folder of the project
PowerShell.exe -ExecutionPolicy Bypass scripts\FormatSource.ps1 -ModifiedOnly $False
If it's the first time to run the script, make sure clang-format version 12.0.0 or above in the output. Otherwise you may need to upgrade Visual Studio or use your own clang-format binaries.
[clang-format] Version is:
clang-format version 12.0.0
-
Both Windows and MAC users: Use clang-format npmjs package
Execute below command in source/nodejs
npm run format
Make sure npm install
is run before.
git pre-commit hook
is an optional process. When you run git commit
, it will automatically do the format check and auto fix the format if error detected.
First make sure clang-format binary is installed in your dev enviroment. Then modify scripts/hooks/pre-commit to make sure clangFormat is point to the correct path. And finally setup the git hook.
Two ways to setup the hook:
- Copy
scripts/hooks/pre-commit
to.git/hooks
git config --local core.hooksPath scripts/hooks
Consumption of the AdaptiveCards binary packages are subject to the Microsoft EULA (End User License Agreement). Please see the relevant terms as listed below:
NOTE: All of the source code, itself, made available in this repo as well as our NPM packages, continue to be governed by the open source MIT license.
- Engage with Adaptive Cards users and developers on StackOverflow.
- Join the #adaptivecards discussion on Twitter.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.