以下是Stripe的API文档:https://stripe.com/docs/api 他们似乎使用的是三列模板.我想知道他们是否使用一些API蓝图渲染器(markdown-to-html类型的脚本)来生成它,类似于Aglio:https://github.com/danielgtaylor/aglio
如果他们不使用任何渲染器,那么还存在哪些其他类型的API蓝图渲染器?
我正在尝试做一些事情,比如当您将鼠标悬停在跨度内的文本上时,背景会发生变化.我的代码:
<script>
function unhighlight(x) {
x.style.backgroundColor="transparent"
}
function highlight(x) {
x.style.backgroundColor="red"
}
</script>
<span onmouseover="highlight(this)" onmouseout="unhighlight(this)">
<h2>What's New</h2>
</span>
Run Code Online (Sandbox Code Playgroud)
我不将它应用于h2的原因有点复杂.不需要解释.救命?