✨ feat: highlight support html #986
Annotations
2 errors and 1 warning
test and coverage:
tests/demo.test.tsx#L44
Error: Snapshot `<Markdown /> > renders index.tsx correctly 1` mismatched
- Expected
+ Received
@@ -991,10 +991,564 @@
<button
class="ant-btn ant-btn-text ant-btn-sm"
type="button"
>
<span>
+ html
+ </span>
+ </button>
+ </div>
+ </span>
+ </div>
+ <div
+ class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
+ style="opacity: 1;"
+ >
+ <div
+ class="ant-select-selection-search"
+ style="width: 0px;"
+ >
+ <input
+ aria-autocomplete="list"
+ aria-controls="rc_select_TEST_OR_SSR_list"
+ aria-expanded="false"
+ aria-haspopup="listbox"
+ aria-owns="rc_select_TEST_OR_SSR_list"
+ autocomplete="off"
+ class="ant-select-selection-search-input"
+ id="rc_select_TEST_OR_SSR"
+ role="combobox"
+ type="search"
+ value=""
+ />
+ <span
+ aria-hidden="true"
+ class="ant-select-selection-search-mirror"
+ >
+
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ <span
+ aria-hidden="true"
+ class="ant-select-arrow"
+ style="user-select: none;"
+ unselectable="on"
+ />
+ </div>
+ <button
+ class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon emotion-19"
+ type="button"
+ >
+ <span
+ class="ant-btn-icon"
+ >
+ <span
+ aria-label="copy"
+ class="anticon anticon-copy"
+ role="img"
+ size="12"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="copy"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"
+ />
+ </svg>
+ </span>
+ </span>
+ </button>
+ </div>
+ <div
+ class="emotion-20"
+ >
+ <div
+ class="ant-editor-highlight-container emotion-21"
+ tabindex="-1"
+ >
+ <pre
+ class="emotion-4"
+ >
+ <table
+ border="0"
+ cellpadding="0"
+ cellspacing="0"
+ >
+ <tbody>
+ <tr>
+ <td
+ class="ant-editor-highlight-content emotion-5"
+ >
+ <span
+ class="hljs-tag"
+ >
+ <
+ <span
+ class="hljs-name"
+ >
+ html
+ </span>
+
|
test and coverage
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading