Skip to main content

Module outline

Module outline 

Source
Expand description

首页「最新一篇」的目录预览接口。

读取最新已发布文章已存储的 toc_html,在服务端解析一级小节,不重新渲染 Markdown。结果随文章列表缓存一起失效。 Leptos server function,注册在 /api 路径下。

Structs§

LatestPostOutline
Serialized arguments for the latest_post_outline server function.

Functions§

latest_post_outline
获取最新一篇已发布文章的目录预览;没有文章或文章没有小节时返回 None。
outline_from_toc 🔒