mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
docs(*): add puppeteer budge (#9772)
Signed-off-by: Rongrong <i@rong.moe>
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
<template>
|
||||
<div class="routeBlock" :id="path">
|
||||
<p class="badge">
|
||||
<Badge text="支持 BT" type="tip" vertical="middle" v-if="supportBT"/> <Badge text="支持播客" type="tip" vertical="middle" v-if="supportPodcast"/> <Badge text="支持 Sci-Hub" type="tip" vertical="middle" v-if="supportScihub"/> <a target="_blank" href="/faq.html" v-if="anticrawler"><Badge text="反爬严格" vertical="middle" type="warn"/></a> <a target="_blank" href="https://github.com/DIYgod/RSSHub-Radar" v-if="radar"><Badge text="支持浏览器扩展" vertical="middle" type="tip"/></a> <a target="_blank" href="https://github.com/Cay-Zhang/RSSBud" v-if="rssbud"><Badge text="支持 RSSBud" vertical="middle" type="tip"/></a> <a target="_blank" href="https://docs.rsshub.app/install/" v-if="selfhost"><Badge text="仅支持自建" vertical="middle" type="warn"/></a>
|
||||
<Badge text="支持 BT" vertical="middle" type="tip" v-if="supportBT"/>
|
||||
<Badge text="支持播客" vertical="middle" type="tip" v-if="supportPodcast"/>
|
||||
<Badge text="支持 Sci-Hub" vertical="middle" type="tip" v-if="supportScihub"/>
|
||||
<Badge text="依赖 Puppeteer" vertical="middle" type="warn" v-if="puppeteer"/>
|
||||
<a target="_blank" href="/faq.html" v-if="anticrawler"><Badge text="反爬严格" vertical="middle" type="warn"/></a>
|
||||
<a target="_blank" href="/install/" v-if="selfhost"><Badge text="仅支持自建" vertical="middle" type="warn"/></a>
|
||||
<a target="_blank" href="https://github.com/DIYgod/RSSHub-Radar" v-if="radar"><Badge text="支持浏览器扩展" vertical="middle" type="tip"/></a>
|
||||
<a target="_blank" href="https://github.com/Cay-Zhang/RSSBud" v-if="rssbud"><Badge text="支持 RSSBud" vertical="middle" type="tip"/></a>
|
||||
</p>
|
||||
<p class="author">
|
||||
作者: <a v-for="uid in author.split(' ')" :href="`https://github.com/${uid}`" target="_blank"> @{{ uid }} </a>
|
||||
@@ -69,19 +76,23 @@ export default {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
puppeteer: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
renderMarkdown(item, inline = true) {
|
||||
const md = require('markdown-it')({
|
||||
html: true,
|
||||
html: true,
|
||||
});
|
||||
return inline ? md.renderInline(item) : md.render(item);
|
||||
return inline ? md.renderInline(item) : md.render(item);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
demoUrl: function () {
|
||||
return 'https://rsshub.app'+ this.example
|
||||
}
|
||||
demoUrl: function () {
|
||||
return 'https://rsshub.app'+ this.example
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user