Commit 84e32c9
[Feature] Support HTML-in-Markdown (#5161)
* Added betterLinkDocumentMod
* add markdownRenderHTML to styleOptions
* Use new betterLinkDocumentMod and add a test
* Fix asButton with aria-label and className
* Update snapshots
* Update entry
* Use DOMParser + XMLSerializer
* Revert red box
* Update CHANGELOG.md
* Update CHANGELOG.md
Removes the redundant second changelog line
* Add breaking changes
* Run in JSDOM and remove empty "title" attribute
* More explanation
* Add HTML-in-Markdown for Adaptive Cards
* Style HTML-in-Markdown for Adaptive Cards
* Fix tests
* Revert containerClassName
* Move container to useRenderMarkdownAsHTML
* Fix tests
* Fix tests
* Clean up
* Add comment
* Update entry
* Fix tests
* Added open in external icon
* Add newline to end of XML serialization
* Better test
* Add HTML-in-Markdown
---------
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Benjamin Yackley <beyackle@microsoft.com>
Co-authored-by: Eugene Olonov <eolonov@gmail.com>1 parent 2b6e104 commit 84e32c9
58 files changed
Lines changed: 1377 additions & 107 deletions
File tree
- __tests__
- __image_snapshots__
- chrome-docker
- html
- hooks
- html/markdownRenderHTML
- packages
- api/src
- bundle/src
- __tests__
- adaptiveCards/Attachment
- markdown
- private
- component
- src
- Attachment/Text
- private
- Styles/StyleSet
- Utils
- hooks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
| |||
0 commit comments