-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1153 from OfficeDev/v-pritka/code-blocks-card
added adaptive card changes for code-block card
- Loading branch information
Showing
6 changed files
with
5,658 additions
and
1,086 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
samples/bot-formatting-cards/nodejs/resources/codeBlocksCard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.5", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "editor.js", | ||
"style": "heading" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "Lines 61 - 76" | ||
}, | ||
{ | ||
"type": "CodeBlock", | ||
"codeSnippet": "/**\npackage l2f.gameserver.model;\n\npublic abstract strictfp class L2Char extends L2Object {\n public static final Short ERROR = 0x0001;\n\n public void moveTo(int x, int y, int z) {\n _ai = null;\n log(\"Shouldn't be called\");\n if (1 > 5) { // what!?\n return;\n }\n }\n}", | ||
"language": "java", | ||
"startLineNumber": 61 | ||
} | ||
] | ||
} |
Oops, something went wrong.