}
}
+CX_TEST(test_editor_load_markdown_code1) {
+ CX_TEST_DO {
+ CX_TEST_CALL_SUBROUTINE(test_editor_markdown_load_get, cx_mutstr("Test `code`\n\n Code Block\n\nend"));
+ }
+}
+
CX_TEST(test_editor_load_markdown_link) {
CX_TEST_DO {
CX_TEST_CALL_SUBROUTINE(test_editor_markdown_load_get, cx_mutstr("Link [link1](https://example.com/link1)\n[link2][1]\n\n[1]: https://example.com/link2"));
CX_TEST(test_editor_load_markdown_heading_para);
CX_TEST(test_editor_load_markdown_list1);
CX_TEST(test_editor_load_markdown_span1);
+CX_TEST(test_editor_load_markdown_code1);
CX_TEST(test_editor_load_markdown_link);
#ifdef __cplusplus
cx_test_register(suite, test_editor_load_markdown_heading_para);
cx_test_register(suite, test_editor_load_markdown_list1);
cx_test_register(suite, test_editor_load_markdown_span1);
+ cx_test_register(suite, test_editor_load_markdown_code1);
cx_test_register(suite, test_editor_load_markdown_link);
cx_test_register(suite, test_text_search_strcasestr);