洛谷有没有办法获取帖子/博客的源码

灌水区

ppip @ 2023-07-05 22:44:42

rt。两个随便能提供哪个都可以。感激不尽。


by zifanwang @ 2023-07-05 22:47:07

@ppip

查看博客源码:

fetch('/api/blog/detail/' + BlogGlobals.blogID).then(res => res.json()).then(res => console.log(res.data.Content))

查看个人主页源码:

console.log(_feInstance.currentData.user.introduction)

by BlackPanda @ 2023-07-05 22:47:08

@ppip https://greasyfork.org/zh-CN/scripts/469489-luogu-copymarkdown


by george_jiang @ 2023-07-06 22:19:35

@ppip 帖子暂时没有,可以等OIso++发布,会提供基础的支持,但latex等现在内测反映并不很兼容。


|