forked from bot/app
🧐内置页面渲染组件,弃用nonebot-plugin-htmlrender,避免playwright对多平台的不友好绑架
This commit is contained in:
13
src/resources/htmlrender/templates/text.html
Normal file
13
src/resources/htmlrender/templates/text.html
Normal file
@ -0,0 +1,13 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
{% if css %}
|
||||
<style type="text/css">
|
||||
{{ css }}
|
||||
</style>
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<div id="main" class="main-box">
|
||||
<div class="text">{{ text }}</div>
|
||||
</div>
|
||||
</body>
|
Reference in New Issue
Block a user