A new way for developers to exchange card content in a common and consistent way.
Перейти к файлу
J.P. Roca 951131c964
Website updates (#7163)
* Changed teams target version to 1.4

* Added october and november blog posts

* fixed emojis

* testing font weights for emoji

* removed bold from emojis as not required to render

* added blogs posts

* fixed video titles

* updated roadmap links

* removed repeated sentence

Co-authored-by: Canhua Li <licanhua@live.com>
2022-03-28 12:16:28 -07:00
.github Website updates (#7163) 2022-03-28 12:16:28 -07:00
.pipelines [Android] General improvements on tests (#7162) 2022-03-24 13:11:27 -07:00
.swiftpm/xcode/package.xcworkspace [iOS] Table Change 1 / 3 (#5847) 2021-05-28 15:22:50 -07:00
.vscode [UWP] Convert UWP PR pipeline to yaml, and add unit/UI test run tasks (#6011) 2021-08-17 23:56:09 +00:00
assets Release/1.0 (#1232) 2018-03-06 23:13:00 -08:00
samples use labels (#7100) 2022-03-15 17:28:10 +00:00
schemas [JS] Add inline YouTube, Vimeo and Dailymotion video playback (#7112) 2022-03-24 11:42:22 -07:00
scripts clang-format files for iOS, shared and experimental (#6851) 2022-01-06 03:33:42 +00:00
source Website updates (#7163) 2022-03-28 12:16:28 -07:00
specs Feature/carousel (#6724) 2021-11-13 02:27:04 +00:00
.clang-format clang-format files for iOS, shared and experimental (#6851) 2022-01-06 03:33:42 +00:00
.editorconfig [JS] Modernize and automate code quality/formatting (#6815) 2021-12-09 10:22:18 -08:00
.gitattributes create .net library for schema 2017-02-03 12:44:46 -08:00
.gitignore Apply clang-format (#6799) 2021-12-14 02:21:54 +00:00
LICENSE update license to match the GitHub template 2017-10-21 14:57:14 -07:00
Package.swift [iOS] Added iOS Nightly (#5805) 2021-05-13 03:08:08 +00:00
README.md Website updates (#7163) 2022-03-28 12:16:28 -07:00
SECURITY.MD Adding Security.md per Microsoft OSS guidelines (#3417) 2019-09-04 10:55:09 -07:00
SUPPORT.md Updated Maintainer Info (#6300) 2021-09-03 14:20:12 -07:00
THIRD-PARTY-NOTICES.TXT [.NET] Update Xceed licensing (#5443) 2021-03-02 09:16:55 -08:00
custom.props Update custom.props for release (#6395) 2021-09-30 10:52:46 -07:00
package-lock.json Spec tooling and specs (#3068) 2019-06-18 10:45:07 -07:00

README.md

Adaptive Cards

logo

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.

Dive in

Install and Build

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
JavaScript npm install Source Docs Build Status
.NET Nuget install Source Docs Build status
.NET WPF Nuget install Source Docs Build status
.NET HTML Nuget install Source Docs Build status
Windows UWP Nuget install Source Docs Build Status
Android Maven Central Source Docs Build status
iOS CocoaPods Source Docs Build status
Card Designer npm install Source Docs Build Status

Code format

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.

IDE integration

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

Format with script

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.

Use Git pre-commit hook

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:

  1. Copy scripts/hooks/pre-commit to .git/hooks
  2. git config --local core.hooksPath scripts/hooks

End User License Agreement for our binary packages

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.

Community SDKs

The following SDKs are lovingly maintained by the Adaptive Cards community. Their contributions are sincerely appreciated! 🎉

Platform Install Repo Maintainer
ReactNative npm install GitHub BigThinkCode
Pic2Card GitHub BigThinkCode
Vue.js npm install GitHub Tim Cadenbach

Contribute

There are many ways to contribute to Adaptive Cards.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.