Giter VIP home page Giter VIP logo

acpreviewer's Introduction

Microsoft Adaptive Card Previewer

The Microsoft Adaptive Card Previewer is an extension for Visual Studio Code. It uses the latest rendering stack for Microsoft Teams to provide a more accurate preview of Adaptive Cards. You can open a side-by-side preview to view changes live, toggle between light, dark, and high-contrast themes.

ACP

Features

Adaptive Card Previewer supports:

  • Instant preview of adaptive cards in VS Code editor through CodeLens or Command Palette. previewCommands

    preview

  • Switch between different themes (Light/Dark/High-Contrast) to preview your cards so you can design with confidence. Theme

  • Separation of data from the layout in an Adaptive Card template language. Use the command Adaptive Card: New Data File to add a data file for a template. This will generate an empty file where you can bind data to your adaptive card template.

  • Seamless integration with Teams Toolkit that allows a Just-In-Time installation of Adaptive Card Previewer when you are iterating on adaptive cards generated from Teams Toolkit project creation. image

  • Configure default theme through Visual Studio Code extension settings adaptiveCardPreviewer.defaultTheme. settings

Limitations

Some features of an Adaptive Card are not supported:

Please stay tuned for updates as we continue to expand the capabilities of Adaptive Card Previewer.

Feedback

Support Policy

Adaptive Card Previewer will follow Modern Lifecycle Policy.

Telemetry

Adaptive Card Previewer collects usage data and sends it to Microsoft to help improve our products and services. Read our Privacy Statement and Data Collection Notice to learn more. Learn more in our FAQ.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

acpreviewer's People

Contributors

dooriya avatar microsoft-github-operations[bot] avatar microsoftopensource avatar muyangamigo avatar therealjohn avatar xzf0587 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

xzf0587

acpreviewer's Issues

Support templating

Hi, thank you so much for this extension ๐ŸŽ‰, it really can help the development of Teams Bots.

It would be great to support Adaptive Cards templating. The cards which we use contains multiple templates for texts and for image URLs also.
We are using the AdaptiveCards.Templating nuget package to populate our templates. (https://www.nuget.org/packages/AdaptiveCards.Templating)

Here is a part of the template and a screenshot of how it looks like.

...
{
  "type": "TextBlock",
  "text": "${$root.title}",
  "wrap": true,
  "fontType": "Default",
  "size": "Large",
  "weight": "Bolder",
  "spacing": "None",
  "separator": true
},
...

image

I would expect to have a text field for every field detected in the template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.