feat(web): live markdown preview via POST /_md host glue
Markdown form fields render a dual-pane shell; official boot posts textarea input to /_md for GFM HTML without author business JS. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
4b7643d833
commit
6bd127a313
5 files changed
+77
-2
No files matched your search
@@ -82,6 +82,8 @@ func TestRenderMarkdownAndLabels(t *testing.T) {
|
||||
for _, want := range []string{
|
||||
`data-mq-field="markdown"`,
|
||||
`class="mq-markdown"`,
|
||||
`class="md-field"`,
|
||||
`mq-md-preview`,
|
||||
">发布文章</button>",
|
||||
`href="/desk/posts"`,
|
||||
">返回列表</a>",
|
||||
|
||||
Reference in new issue
Block a user