Files
RSSHub/lib/routes/zcool/utils.ts
T
DIYgod cf4e772de8 refactor: replace art template with jsx (#20777)
* refactor: replace art template with jsx

* fix: tsx files

* fix: renderToString import

* fix: hono html raw import

* feat: remove art
2025-12-29 12:27:32 +08:00

8 lines
260 B
TypeScript

import { renderWork } from './templates/work';
const extractArticle = (data) => data.props.pageProps.data.summary + data.props.pageProps.data.memo;
const extractWork = (data) => renderWork(data.props.pageProps.data);
export { extractArticle, extractWork };