|
|
|
@ -399,6 +399,9 @@
|
|
|
|
|
return processChunk().then(() => {
|
|
|
|
|
// 在流处理完成后保存完整的markdown内容
|
|
|
|
|
localStorage.setItem('lastMarkdownContent', accumulatedContent);
|
|
|
|
|
// TODO 调用接口 @app.post("/api/render_html")
|
|
|
|
|
// async def render_html(request: fastapi.Request):
|
|
|
|
|
// 参数:html_content=accumulatedContent
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|